[FFmpeg-devel] [PATCH 1/2] Support playing SMV files.

Michael Niedermayer michaelni at gmx.at
Thu Oct 18 01:21:32 CEST 2012

On Tue, Oct 16, 2012 at 06:48:06PM +0000, Ash Hughes wrote:
> This patch updates libavcodec to enable recursively using avcodec_open2/close. Used in the SMV decoder to open an MJPEG decoder.
> Ash
> ---
> diff -uNr ffmpeg-vanilla/libavcodec/utils.c ffmpeg/libavcodec/utils.c
> --- ffmpeg-vanilla/libavcodec/utils.c    2012-10-16 18:09:41.283863114 +0100
> +++ ffmpeg/libavcodec/utils.c    2012-10-16 17:58:22.784498604 +0100
> @@ -798,6 +798,27 @@
>  }
>  #endif
> +int attribute_align_arg avcodec_open2_recursive(AVCodecContext *avctx, const AVCodec *codec, AVDictionary **options)

av prefixes are for external API, this is (at least currently)
internal API so should have a ff prefix instead

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Awnsering whenever a program halts or runs forever is
On a turing machine, in general impossible (turings halting problem).
On any real computer, always possible as a real computer has a finite number
of states N, and will either halt in less than N cycles or never halt.
-------------- 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/20121018/c907e9fe/attachment.asc>

More information about the ffmpeg-devel mailing list