[FFmpeg-devel] CODEC_FLAG2_MEMC_ONLY in old FFmpeg

Michael Niedermayer michaelni at gmx.at
Sat Jan 28 17:25:55 CET 2012


On Sat, Jan 28, 2012 at 02:21:47PM +0100, Reimar Döffinger wrote:
> Hello,
> it seems to me that CODEC_FLAG2_MEMC_ONLY was never hooked up even
> when it did exit.
> At the very least I could not find it used anywhere in the 0.10 release.
> If I am correct, it might make sense to fix this in old versions that
> still have the define, so that it at least works.

agree

note, the issue was introduced by:

commit 0cc06b9e23bc798b1af3302d095db23f000a97e6
Author: Anton Khirnov <anton at khirnov.net>
Date:   Sat Aug 27 10:16:14 2011 +0200

    snow: add 'memc_only' private option.

    Deprecate CODEC_FLAG2_MEMC_ONLY

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Its not that you shouldnt use gotos but rather that you should write
readable code and code with gotos often but not always is less readable
-------------- 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/20120128/33045eb5/attachment.asc>


More information about the ffmpeg-devel mailing list