diff options
author | Marton Balint <cus@passwd.hu> | 2015-07-05 19:02:01 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-07-06 00:07:55 +0200 |
commit | 3a19fe0048388442de7d8823e1b458f4865d207f (patch) | |
tree | 14a18aa175a24aa9ffe133b10e9379d9a30a1af4 /libavcodec | |
parent | 97fa0f37fee3096acb7ee7de83ac5d1a8b1c777a (diff) | |
download | ffmpeg-3a19fe0048388442de7d8823e1b458f4865d207f.tar.gz |
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>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/utils.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index e6d5227c22..f20cafc552 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -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) { |