[FFmpeg-devel] [PATCH] doc/examples: add a simple decoding example.

Clément Bœsch u at pkh.me
Fri Sep 6 10:29:01 CEST 2013


On Wed, Sep 04, 2013 at 05:55:35PM +0200, Clément Bœsch wrote:
> From: Clément Bœsch <clement at stupeflix.com>
> 
> ---
>  .gitignore              |   1 +
>  doc/examples/Makefile   |   3 +-
>  doc/examples/decoding.c | 153 ++++++++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 156 insertions(+), 1 deletion(-)
>  create mode 100644 doc/examples/decoding.c
> 

Here is the new version, showing how to use both reference counting and
classic method. I'd like to push this soon unless someone disagrees.

This is tested with a MPEG sample with B-frames, and Valgrind is happy in
both modes about memory leaks and corruptions.

I also added various additional comments, you're welcome to look for typo
and other frenglish derping in them.

Thanks.

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-doc-examples-add-a-simple-decoding-example.patch
Type: text/x-diff
Size: 8386 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130906/d7d641e7/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130906/d7d641e7/attachment.asc>


More information about the ffmpeg-devel mailing list