summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/gdv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/gdv.c b/libavcodec/gdv.c
index f00f3ac145..2be1e2ea7f 100644
--- a/libavcodec/gdv.c
+++ b/libavcodec/gdv.c
@@ -551,7 +551,7 @@ static int gdv_decode_frame(AVCodecContext *avctx, void *data,
*got_frame = 1;
- return ret < 0 ? ret : avpkt->size;
+ return avpkt->size;
}
static av_cold int gdv_decode_close(AVCodecContext *avctx)