examples/decode_video: constify the AVCodec instance

pull/258/head
Anton Khirnov 8 years ago
parent 5b4d7ac7ae
commit 8191f960a6
  1. 2
      doc/examples/decode_video.c

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

Loading…
Cancel
Save