Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#6691 closed defect (fixed)

portability fixes after ffmpeg sync

Reported by: anonymous Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: MythTV - General Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Attached patch addresses portability issues after ffmpeg sync:

  • cpu_accel.c: configure defines ARCH flags as 0
  • RingBuffer?.cpp: use preprocessor directives, else posix_fadvise() is undefined
  • ThreadedFileWriter?.cpp: use preprocessor directives, else fdatasync(), etc are undefined
  • color.h: linker error due to multiple definitions of pointers

Attachments (1)

r20802_porting.patch (2.5 KB) - added by anonymous 10 years ago.

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by anonymous

Attachment: r20802_porting.patch added

comment:1 Changed 10 years ago by Janne Grunau

(In [20812]) fix ARCH_ defines post ffmpeg sync. Fixes #6690, Refs #6691, Refs #4862

comment:2 Changed 10 years ago by Janne Grunau

Resolution: fixed
Status: newclosed

(In [20813]) Fixes #6691. removes multiple function pointer definitions from greedydeint

extern defines for posix_fadvise and fdatasync if they are not found

comment:3 Changed 10 years ago by Janne Grunau

(In [20834]) use preprocessor if instead of C if for HAVE_SYNC_FILE_RANGE, HAVE_POSIX_FADVISE and HAVE_FDATASYNC. Refs #6691, Refs #6698

Note: See TracTickets for help on using tickets.