diff --git a/doc/examples/decoding_encoding.c b/doc/examples/decoding_encoding.c index c2401fb40d..0ca3faa12e 100644 --- a/doc/examples/decoding_encoding.c +++ b/doc/examples/decoding_encoding.c @@ -531,8 +531,6 @@ static void video_decode_example(const char *outfilename, const char *filename) exit(1); } - /* the codec gives us the frame size, in samples */ - f = fopen(filename, "rb"); if (!f) { fprintf(stderr, "Could not open %s\n", filename);