From e21dac3a4f7c9966b6c93b71e5a1cf55e62d59bc Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Thu, 12 Apr 2012 00:04:21 +0200 Subject: [PATCH] examples/decoding_encoding: remove unused variable "size" MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.11.0