diff options
author | Anton Khirnov <anton@khirnov.net> | 2024-06-12 10:47:01 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2024-07-02 09:55:39 +0200 |
commit | 99b0c3dc7c5380cb3888daca8d7ad0454e789ba8 (patch) | |
tree | ba29d1bc964609a3ebcd9712413e0fcb4646c532 /libavcodec/mpeg_er.c | |
parent | 5295650655ec13efe260a27d7f27572a4f0ab07e (diff) | |
download | ffmpeg-99b0c3dc7c5380cb3888daca8d7ad0454e789ba8.tar.gz |
lavc/hevcdec: do not pass a pixel format to set_sps()
It is merely copied to AVCodecContext.pix_fmt, which serves no useful
purpose. set_sps() is called from two places:
* when a new SPS becomes active - then the pixel format is
overridden immediately after the set_sps() call by the result from
ff_get_format();
* when a new SPS is propagated across frame threads - then the
AVCodecContext value is already set to the same value by the generic
code.
Diffstat (limited to 'libavcodec/mpeg_er.c')
0 files changed, 0 insertions, 0 deletions