aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/prosumer.c
diff options
context:
space:
mode:
authorWenbin Chen <wenbin.chen-at-intel.com@ffmpeg.org>2022-03-18 14:25:10 +0800
committerHaihao Xiang <haihao.xiang@intel.com>2022-04-06 17:12:26 +0800
commit4a633eb36fb078f600d6cbbd8f184204c61a96f9 (patch)
tree7dddedfc396511dfa6c4902049fefd846f95f4ac /libavcodec/prosumer.c
parent40f38659d777af3e0cf2487df81f4a22884e2806 (diff)
downloadffmpeg-4a633eb36fb078f600d6cbbd8f184204c61a96f9.tar.gz
libavcodec/qsvdec: remove redundant decodeHeader()
Since ffmpeg-qsv uses return value to reinit decoder, it doesn't need to decode header each time. Move qsv_decode_header's position so that it will be called only if codec needed to be reinitialized. Rearrange the code of flushing decoder and re-init decoder operation. Remove the buffer_count and use the got_frame to decide whether the decoder is drain. Signed-off-by: Wenbin Chen <wenbin.chen@intel.com> Signed-off-by: Guangxin Xu <guangxin.xu@intel.com>
Diffstat (limited to 'libavcodec/prosumer.c')
0 files changed, 0 insertions, 0 deletions