mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-04-14 00:58:38 +02:00
lavc/utils: remove redundant call to ff_init_buffer_info
It does the same as calling ff_decode_frame_props. Signed-off-by: Marton Balint <cus@passwd.hu> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
97fa0f37fe
commit
3a19fe0048
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user