Commit e21dac3a authored by Stefano Sabatini's avatar 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]
parent 162e4004
...@@ -211,7 +211,7 @@ static void video_encode_example(const char *filename, int codec_id) ...@@ -211,7 +211,7 @@ static void video_encode_example(const char *filename, int codec_id)
{ {
AVCodec *codec; AVCodec *codec;
AVCodecContext *c= NULL; AVCodecContext *c= NULL;
int i, out_size, size, x, y, outbuf_size; int i, out_size, x, y, outbuf_size;
FILE *f; FILE *f;
AVFrame *picture; AVFrame *picture;
uint8_t *outbuf; uint8_t *outbuf;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment