Most decoders return the amount of data used.
This is more consistent
Signed-off-by: Michael Niedermayer <[email protected]>
---
libavcodec/rscc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/rscc.c b/libavcodec/rscc.c
index d01f05c022..f13706cd75 100644
--- a/libavcodec/rscc.c
+++ b/libavcodec/rscc.c
@@ -324,6 +324,7 @@ static int rscc_decode_frame(AVCodecContext *avctx, void
*data,
}
*got_frame = 1;
+ ret = avpkt->size;
end:
av_free(inflated_tiles);
return ret;
--
2.11.0
_______________________________________________
ffmpeg-devel mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel