[FFmpeg-cvslog] ivi_common: skip null frames for all indeo variants
Michael Niedermayer
git at videolan.org
Mon May 21 15:13:46 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun May 20 23:01:22 2012 +0200| [8258697c4924122515af164ee0bf2e7f01b644b5] | committer: Michael Niedermayer
ivi_common: skip null frames for all indeo variants
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8258697c4924122515af164ee0bf2e7f01b644b5
---
libavcodec/ivi_common.c | 2 +-
tests/ref/fate/indeo5 | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/libavcodec/ivi_common.c b/libavcodec/ivi_common.c
index 17178cd..b84148c 100644
--- a/libavcodec/ivi_common.c
+++ b/libavcodec/ivi_common.c
@@ -799,7 +799,7 @@ int ff_ivi_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
av_log(avctx, AV_LOG_ERROR, "Buffer contains IP frames!\n");
}
- if (avctx->codec_id == CODEC_ID_INDEO4 && !ctx->is_nonnull_frame(ctx))
+ if (!ctx->is_nonnull_frame(ctx))
return buf_size;
if (ctx->frame.data[0])
diff --git a/tests/ref/fate/indeo5 b/tests/ref/fate/indeo5
index 3f0adfb..7b91238 100644
--- a/tests/ref/fate/indeo5
+++ b/tests/ref/fate/indeo5
@@ -1,6 +1,5 @@
#tb 0: 1/15
0, 0, 0, 1, 48600, 0x72d4193b
-0, 1, 1, 1, 48600, 0x72d4193b
0, 2, 2, 1, 48600, 0x36abd6f3
0, 3, 3, 1, 48600, 0x99e582f7
0, 4, 4, 1, 48600, 0xa4cb6fb7
More information about the ffmpeg-cvslog
mailing list