examples/decode_video: constify the AVCodec instance

This commit is contained in:
Anton Khirnov 2016-10-20 11:03:20 +02:00
parent 5b4d7ac7ae
commit 8191f960a6

View File

@ -53,7 +53,7 @@ static void pgm_save(unsigned char *buf, int wrap, int xsize, int ysize,
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
const char *filename, *outfilename; const char *filename, *outfilename;
AVCodec *codec; const AVCodec *codec;
AVCodecContext *c= NULL; AVCodecContext *c= NULL;
int frame, got_picture, len; int frame, got_picture, len;
FILE *f; FILE *f;