summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-04-12 00:04:21 +0200
committerStefano Sabatini <stefasab@gmail.com>2012-04-13 00:13:31 +0200
commite21dac3a4f7c9966b6c93b71e5a1cf55e62d59bc (patch)
tree37ef9328a889c82b9ddde83ba4e399801cfa073e
parent162e4004643c929a8a799f4362c68bef5a53ba50 (diff)
examples/decoding_encoding: remove unused variable "size"
Remove unused variable size from video_encode_example() function. Fix GCC warning: decoding_encoding.c:214:22: warning: unused variable ‘size’ [-Wunused-variable]
-rw-r--r--doc/examples/decoding_encoding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/decoding_encoding.c b/doc/examples/decoding_encoding.c
index 4b87e2d3a3..4b93b58fec 100644
--- 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;