[mythtv] fix build on gcc-4
Isaac Richards
ijr at case.edu
Tue Apr 12 01:30:00 UTC 2005
On Monday 11 April 2005 07:55 pm, Ruediger Oertel wrote:
> Hi,
>
> since the two other hunks I sent last night went in so easily,
> I've got another patch I'm using to compile mythtv with gcc-4
> (a cvs snapshot of April 10th of gcc-4).
>
> libs/libavcodec/avcodec.h:
> move struct AVOption out of there and add forward declaration
> libs/libavcodec/common.h:
> move struct AVOption to this place
> reason: an array of these structs is used and gcc-4
> will not accept arrays on forward declarated structs.
> libs/libavcodec/libpostproc/postprocess_template.c:
> fix a place where gcc complains the location modified
> is not an lvalue
>
> patch is attached. with this I'm able to build mythtv
> completely on gcc-4.
This should be sent to the ffmpeg people.
Isaac
More information about the mythtv-dev
mailing list