Browse Source

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]
tags/n0.11
Stefano Sabatini 13 years ago
parent
commit
e21dac3a4f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      doc/examples/decoding_encoding.c

+ 1
- 1
doc/examples/decoding_encoding.c View File

@@ -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;


Loading…
Cancel
Save