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:
162e400
)
examples/decoding_encoding: remove unused variable "size"
author
Stefano Sabatini
<stefasab@gmail.com>
Wed, 11 Apr 2012 22:04:21 +0000
(
00:04
+0200)
committer
Stefano Sabatini
<stefasab@gmail.com>
Thu, 12 Apr 2012 22:13:31 +0000
(
00:13
+0200)
Remove unused variable size from video_encode_example() function.
Fix GCC warning:
decoding_encoding.c:214:22: warning: unused variable ‘size’ [-Wunused-variable]
doc/examples/decoding_encoding.c
patch
|
blob
|
history
diff --git
a/doc/examples/decoding_encoding.c
b/doc/examples/decoding_encoding.c
index
4b87e2d
..
4b93b58
100644
(file)
--- a/
doc/examples/decoding_encoding.c
+++ b/
doc/examples/decoding_encoding.c
@@
-211,7
+211,7
@@
static void video_encode_example(const char *filename, int codec_id)
{
AVCodec *codec;
AVCodecContext *c= NULL;
- int i, out_size,
size,
x, y, outbuf_size;
+ int i, out_size, x, y, outbuf_size;
FILE *f;
AVFrame *picture;
uint8_t *outbuf;