Browse Source

examples/decode_video: constify the AVCodec instance

tags/n3.3
Anton Khirnov 9 years ago
parent
commit
8191f960a6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      doc/examples/decode_video.c

+ 1
- 1
doc/examples/decode_video.c 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)
{
const char *filename, *outfilename;
AVCodec *codec;
const AVCodec *codec;
AVCodecContext *c= NULL;
int frame, got_picture, len;
FILE *f;


Loading…
Cancel
Save