[FFmpeg-devel] [PATCH]Accept 0 as codec_tag in ffmpeg.c if it matches the codec_id

Michael Niedermayer michaelni at gmx.at
Sat Dec 8 03:02:39 CET 2012


On Fri, Dec 07, 2012 at 01:15:21PM +0100, Carl Eugen Hoyos wrote:
> Hi!
> 
> Attached patch fixes ticket #1953 for me.
> 
> I suspect the actual problem is that av_codec_get_tag() returns 0 both in case 
> of failure and success, but that seems difficult to fix without breaking API.

i think we should add a new function that is free of this ambiguity

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Complexity theory is the science of finding the exact solution to an
approximation. Benchmarking OTOH is finding an approximation of the exact
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121208/608132a7/attachment.asc>


More information about the ffmpeg-devel mailing list