Commit 8191f960 authored by Anton Khirnov's avatar Anton Khirnov

examples/decode_video: constify the AVCodec instance

parent 5b4d7ac7
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment