Commit 3a19fe00 authored by Marton Balint's avatar Marton Balint Committed by Michael Niedermayer

lavc/utils: remove redundant call to ff_init_buffer_info

It does the same as calling ff_decode_frame_props.
Signed-off-by: 's avatarMarton Balint <cus@passwd.hu>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 97fa0f37
......@@ -892,8 +892,6 @@ static int get_buffer_internal(AVCodecContext *avctx, AVFrame *frame, int flags)
ret = ff_decode_frame_props(avctx, frame);
if (ret < 0)
return ret;
if ((ret = ff_init_buffer_info(avctx, frame)) < 0)
return ret;
if (hwaccel) {
if (hwaccel->alloc_frame) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment