diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-03-22 04:47:03 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-03-22 05:25:26 +0100 |
commit | eb9841297a513cdaf405deecb13daff7501e57a6 (patch) | |
tree | 1837328fc13f4ae29edbcc5964edb91cba436f81 | |
parent | 109650b34b3b516d00bef94e5f1521c21bd3c3de (diff) | |
download | ffmpeg-streaming-eb9841297a513cdaf405deecb13daff7501e57a6.zip ffmpeg-streaming-eb9841297a513cdaf405deecb13daff7501e57a6.tar.gz |
doc/examples/decoding_encoding: make the buffer bigger.
This should be converted to the new API
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | doc/examples/decoding_encoding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/decoding_encoding.c b/doc/examples/decoding_encoding.c index 255be70..4b87e2d 100644 --- a/doc/examples/decoding_encoding.c +++ b/doc/examples/decoding_encoding.c @@ -255,7 +255,7 @@ static void video_encode_example(const char *filename, int codec_id) } /* alloc image and output buffer */ - outbuf_size = 100000; + outbuf_size = 100000 + 12*c->width*c->height; outbuf = malloc(outbuf_size); /* the image can be allocated by any means and av_image_alloc() is |