[mythtv] fix build on gcc-4

Ruediger Oertel ro at suse.de
Tue Apr 12 23:24:38 UTC 2005


On Mon, 11 Apr 2005, Isaac Richards wrote:

> 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.

surely I would. but the mailing-lists link on the ffmpeg sf-page
seems broken or dead. Anyone from that team I could reach ?

-- 
with kind regards (mit freundlichem Grinsen),
   Ruediger Oertel (ro at novell.com,ro at suse.de,bugfinder at t-online.de)
----------------------------------------------------------------------
Linux fatou 2.6.11.4-20a-smp #1 SMP Tue Apr 12 14:33:48 UTC 2005 x86_64
Key fingerprint = 17DC 6553 86A7 384B 53C5  CA5C 3CE4 F2E7 23F2 B417


More information about the mythtv-dev mailing list