diff --git a/libavformat/gifdec.c b/libavformat/gifdec.c index 6cf36c1205..1122849abd 100644 --- a/libavformat/gifdec.c +++ b/libavformat/gifdec.c @@ -271,7 +271,7 @@ resync: if (ret >= 0 && !frame_parsed) { /* This might happen when there is no image block * between extension blocks and GIF_TRAILER or EOF */ - return AVERROR_EOF; + return AVERROR_EOF; } else return ret; }