[FFmpeg-devel] [PATCH] doc/examples: add a simple decoding example.
Clément Bœsch
u at pkh.me
Wed Oct 30 16:32:08 CET 2013
On Fri, Sep 06, 2013 at 10:29:01AM +0200, Clément Bœsch wrote:
> 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.
> From 8a0c389ae71ff083106535c1b5a1661c94066999 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= <clement at stupeflix.com>
> Date: Wed, 4 Sep 2013 17:27:38 +0200
> Subject: [PATCH] doc/examples: add a simple decoding example.
>
> ---
> .gitignore | 1 +
> doc/examples/Makefile | 1 +
> doc/examples/decoding_video.c | 190 ++++++++++++++++++++++++++++++++++++++++++
> 3 files changed, 192 insertions(+)
> create mode 100644 doc/examples/decoding_video.c
>
Patch dropped, see the recent patches on doc/examples/demuxing instead
(which is a better example since it supports audio, and chunked decode of
AVPacket, and flushing)
[...]
--
Clément B.
-------------- 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/20131030/47a05df6/attachment.asc>
More information about the ffmpeg-devel
mailing list