---
libavcodec/h264.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 436c029..d7dd0a0 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -6904,6 +6904,9 @@ static void decode_postinit(H264Context *h){
*/
static void report_decode_progress(AVCodecContext *avctx, H264Context *h){
MpegEncContext * const s = &h->s;
+
+ if (s->dropable) return;
+
int rows = FIELD_OR_MBAFF_PICTURE ? 2 : 1;
ff_report_decode_progress((AVFrame*)s->current_picture_ptr, (s->mb_y - rows) * 16 - 3);
}
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc