diff --git a/doc/examples/decode_video.c b/doc/examples/decode_video.c index 159765360f92bf6b8c7524c79a0b096d1e944a1a..dd1177b8b0c0bf175cf1a51bea58a77aa23b3f65 100644 --- a/doc/examples/decode_video.c +++ b/doc/examples/decode_video.c @@ -79,7 +79,7 @@ static int decode_write_frame(const char *outfilename, AVCodecContext *avctx, int main(int argc, char **argv) { const char *filename, *outfilename; - AVCodec *codec; + const AVCodec *codec; AVCodecContext *c= NULL; int frame_count; FILE *f;