X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=libavcodec%2Finterplayvideo.c;h=c26ffbaee7335e27f4bfac711433dc2cba48bc61;hb=02fb6a214717d40487cae2b06f13b14fabb6e101;hp=4313fdf7ac1ac3408e6144fd773b681ac9e30cf7;hpb=914d6a7c1a7a1850b4053847a784b174c9146c55;p=ffmpeg diff --git a/libavcodec/interplayvideo.c b/libavcodec/interplayvideo.c index 4313fdf7ac1..c26ffbaee73 100644 --- a/libavcodec/interplayvideo.c +++ b/libavcodec/interplayvideo.c @@ -1181,14 +1181,6 @@ static av_cold int ipvideo_decode_init(AVCodecContext *avctx) s->cur_decode_frame->format = avctx->pix_fmt; s->prev_decode_frame->format = avctx->pix_fmt; - ret = ff_get_buffer(avctx, s->cur_decode_frame, 0); - if (ret < 0) - goto error; - - ret = ff_get_buffer(avctx, s->prev_decode_frame, 0); - if (ret < 0) - goto error; - return 0; error: av_frame_free(&s->last_frame);