diff options
Diffstat (limited to 'libavcodec/rv10.c')
-rw-r--r-- | libavcodec/rv10.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c index b67ec3974c..ade21db55e 100644 --- a/libavcodec/rv10.c +++ b/libavcodec/rv10.c @@ -651,7 +651,6 @@ static int rv10_decode_frame(AVCodecContext *avctx, /* no supplementary picture */ if (buf_size == 0) { - *data_size = 0; return 0; } @@ -685,8 +684,6 @@ static int rv10_decode_frame(AVCodecContext *avctx, } *data_size = sizeof(AVFrame); - }else{ - *data_size = 0; } return buf_size; |