summaryrefslogtreecommitdiff
path: root/libavcodec/indeo5.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-06-23 13:54:17 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-06-23 13:56:52 +0200
commitb222e0773c78918a59e7748b56eed0bdd8afa043 (patch)
treebdeddf2e8604da5131c52f2d70ae70e320cf5c5e /libavcodec/indeo5.c
parent35bb74900b951dccdc7481e98a00246f59ec2420 (diff)
parente121ac634ba324a318f4a97f978dcfb48da6b735 (diff)
downloadffmpeg-b222e0773c78918a59e7748b56eed0bdd8afa043.tar.gz
Merge commit 'e121ac634ba324a318f4a97f978dcfb48da6b735'
* commit 'e121ac634ba324a318f4a97f978dcfb48da6b735': indeo45: use is_indeo4 context flag instead of checking codec ID Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/indeo5.c')
-rw-r--r--libavcodec/indeo5.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/indeo5.c b/libavcodec/indeo5.c
index 75f79ad9d3..470676879b 100644
--- a/libavcodec/indeo5.c
+++ b/libavcodec/indeo5.c
@@ -672,6 +672,8 @@ static av_cold int decode_init(AVCodecContext *avctx)
ctx->switch_buffers = switch_buffers;
ctx->is_nonnull_frame = is_nonnull_frame;
+ ctx->is_indeo4 = 0;
+
avctx->pix_fmt = AV_PIX_FMT_YUV410P;
return 0;