Decode both parts of Indeo4 IP frames
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
This commit is contained in:
committed by
Kostya Shishkov
parent
3df0d20028
commit
f76e3669bb
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user