[packman] corrected problem with ffmpeg (and xdtv) SuSE 10.0

Manfred Tremmel manfred at links2linux.de
Thu Sep 15 12:27:31 CEST 2005


Am Mittwoch, 14. September 2005 18:28 schrieb Diego Ercolani:

> only to inform that it seem that in your ffmpeg package there isn't a
> needed file for xdtv.
> opt.h

Are you sure opt.h should be part of ffmpeg? As far as I could 
see, /usr/include/opt.h is part of ddt-0.5.9-244.i586.rpm which is part 
of (open)SUSE 10.0 RC1.

> infact, in avcodec.h there is a #include "opt.h"

Ok, looks like the opt.h from libavcodec directory and not from , I'll 
include it for next build.

> another problem is that, obout at the end of opt.h there is a
> prototype declaration:
> int av_opt_show(void *obj, FILE *f);
>
> but type FILE is in stdio.h so you have to add a #include <stdio.h>;

Shouldn't stdio.h be included in the file which includes opt.h? I don't 
think it is usefull to include includes in includes.

-- 
Machs gut    | http://www.iivs.de/schwinde/buerger/tremmel/

Manfred      | http://packman.links2linux.de/





More information about the Packman mailing list