On Fri, Jun 17, 2011 at 11:26:14AM -0400, Justin Ruggles wrote: > On 06/17/2011 05:06 AM, Kostya wrote: > > > On Fri, Jun 17, 2011 at 09:54:43AM +0100, Måns Rullgård wrote: > >> Kostya Shishkov <[email protected]> writes: > >> > >>> This is needed because not all players (e.g. MPlayer) are able to > >>> distinguish > >>> two different Bink audio decoders when codec_tag is set. > >>> --- [..] > >> > >> I'm not sure which abuse is worse. > > > > Flip a coin then. I don't know myself. > > But feel free to read doxy for codec_tag in avcodec.h to make it even more > > confusing. > > > This solution isn't too bad. At least it is using actual data from the > global header.
The bink video decoder also uses codec_tag to to distinguish different versions. While I have no objection to the above, we ought to agree on the same approach for both audio and video codecs. -- Peter (A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B) _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
