OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
109650b
)
doc/examples/decoding_encoding: make the buffer bigger.
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 22 Mar 2012 03:47:03 +0000
(
04:47
+0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 22 Mar 2012 04:25:26 +0000
(
05:25
+0100)
This should be converted to the new API
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
doc/examples/decoding_encoding.c
patch
|
blob
|
history
diff --git
a/doc/examples/decoding_encoding.c
b/doc/examples/decoding_encoding.c
index
255be70
..
4b87e2d
100644
(file)
--- 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