aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/usmdec.c
diff options
context:
space:
mode:
authorAlessandro Ros <aler9.dev@gmail.com>2024-01-21 16:16:20 +0100
committerMarton Balint <cus@passwd.hu>2024-02-04 20:28:47 +0100
commit49ab7f8997659b7d7140b54d814234e302843434 (patch)
treeb8db5481277b486e287f65eafb77d92634bc9754 /libavformat/usmdec.c
parentfa580a0f17f72a54a2effe89bf10b00b28203d87 (diff)
downloadffmpeg-49ab7f8997659b7d7140b54d814234e302843434.tar.gz
avformat/flvenc: fix stereo flag when writing PCMA/PCMU
Currently, when writing PCMA or PCMU tracks with FLV or RTMP, the stereo flag and sample rate flag inside RTMP audio messages are overridden, making impossible to distinguish between mono and stereo tracks. This patch fixes the issue by restoring the same flag mechanism of all other codecs, that takes into consideration the right channel count and sample rate. Signed-off-by: Alessandro Ros <aler9.dev@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavformat/usmdec.c')
0 files changed, 0 insertions, 0 deletions