Remove unused variable size from video_encode_example() function. Fix GCC warning: decoding_encoding.c:214:22: warning: unused variable ‘size’ [-Wunused-variable]
Showing the changes to doc/examples/decoding_encoding.c (1 of 1 file). Show all
Unified · Split
| @@ -211,7 +211,7 @@ static void video_encode_example(const char *filename, int codec_id) · 210 unmodified lines | |||
| 211 | { | 211 | { |
| 212 | AVCodec *codec; | 212 | AVCodec *codec; |
| 213 | AVCodecContext *c= NULL; | 213 | AVCodecContext *c= NULL; |
| 214 | int i, out_size, size, x, y, outbuf_size; | 214 | int i, out_size, x, y, outbuf_size; |
| 215 | FILE *f; | 215 | FILE *f; |
| 216 | AVFrame *picture; | 216 | AVFrame *picture; |
| 217 | uint8_t *outbuf; | 217 | uint8_t *outbuf; |