aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/hls_sample_encryption.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-07-13 12:20:14 +0200
committerAnton Khirnov <anton@khirnov.net>2023-07-20 20:30:04 +0200
commit249bca763d85e7c323b71f48eb1816edf6525239 (patch)
treef30bc623959184c44c14c6892e43881afbe591f9 /libavformat/hls_sample_encryption.c
parent0b075b40924051b70fa5fd86a92edde2015c7970 (diff)
downloadffmpeg-249bca763d85e7c323b71f48eb1816edf6525239.tar.gz
fftools/ffmpeg_mux_init: handle pixel format endianness
When -pix_fmt designates a BE/LE pixel format, it gets translated into the native one by av_get_pix_fmt(). This may not always be the best choice, as the encoder might only support one endianness. In such a case, explicitly choose the endianness supported by the encoder. While this is currently redundant with choose_pixel_fmt() in ffmpeg_filter.c, the latter code will be deprecated in following commits.
Diffstat (limited to 'libavformat/hls_sample_encryption.c')
0 files changed, 0 insertions, 0 deletions