summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libavcodec/apiexample.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/apiexample.c b/libavcodec/apiexample.c
index 2ddaeb1..88b8ea1 100644
--- a/libavcodec/apiexample.c
+++ b/libavcodec/apiexample.c
@@ -228,8 +228,6 @@ void video_encode_example(const char *filename)
exit(1);
}
- /* the codec gives us the frame size, in samples */
-
f = fopen(filename, "wb");
if (!f) {
fprintf(stderr, "could not open %s\n", filename);
OpenPOWER on IntegriCloud