[MPlayer-dev-eng] [PATCH] AVCodecTag redefined when using external libavformat
Nico Sabbi
nicola_sabbi at fastwebnet.it
Fri Jan 26 21:08:20 CET 2007
Nico Sabbi wrote:
> sorry for the previous empty post
>
> Michael Niedermayer wrote:
>
>> i do object, either include riff.h (ugly and it will break when related
>> things change in lav* but its simple ...) or remove riff.h dependancy
>> that is NEVER include riff.h and NEVER access any internal things from it
>> like codec_bmp_tags but rather use the public interface
>>
>> especiall with .so using the public interface (that is
>> av_codec_get_id/av_codec_get_tag) and using your own code for keeping
>> track of your own tags seem like a good idea later really is just a
>> matter
>> of copy&paste&rename of AVCodecTag and the 2 tiny functions to access it
>>
>
> I'm not sure I understood correctly what you mean: duplicating in
> demux_lavf.c the tables codec_wag_tags and codec_bmp_tags as in the
> patch attached?
>
> calling av_codec_get_tag() and av_codec_get_id() requires as parameters
> the tables we actually need, so how can they be useful in this case?
>
>
>
so what to do? I don't want to keep shared libavformat broken
--
"Without a frontend, mplayer is useless" - someone in mplayer-users
More information about the MPlayer-dev-eng
mailing list