[FFmpeg-cvslog] examples/decoding_encoding: remove unused variable "size"
Stefano Sabatini
git at videolan.org
Fri Apr 13 00:16:24 CEST 2012
ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Thu Apr 12 00:04:21 2012 +0200| [e21dac3a4f7c9966b6c93b71e5a1cf55e62d59bc] | committer: Stefano Sabatini
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]
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e21dac3a4f7c9966b6c93b71e5a1cf55e62d59bc
---
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 4b87e2d..4b93b58 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;
More information about the ffmpeg-cvslog
mailing list