Decode both parts of Indeo4 IP frames

Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
This commit is contained in:
Dirk Ausserhaus
2014-05-29 13:30:37 +02:00
committed by Kostya Shishkov
parent 3df0d20028
commit f76e3669bb
3 changed files with 42 additions and 13 deletions

View File

@@ -620,6 +620,10 @@ static av_cold int decode_init(AVCodecContext *avctx)
ctx->switch_buffers = switch_buffers;
ctx->is_nonnull_frame = is_nonnull_frame;
ctx->p_frame = av_frame_alloc();
if (!ctx->p_frame)
return AVERROR(ENOMEM);
return 0;
}