]> git.sesse.net Git - ffmpeg/commit
avformat/mpegts: set correct extradata size for Opus streams
authorJames Almer <jamrial@gmail.com>
Thu, 15 Apr 2021 03:35:57 +0000 (00:35 -0300)
committerJames Almer <jamrial@gmail.com>
Fri, 16 Apr 2021 14:08:40 +0000 (11:08 -0300)
commit03e767790cac0daa10edd72fb6870bf74f79bf6a
treee3e853a77fd46fe5f9ac641a14e443c4c20dbb1b
parentc1fd4033dca192d709ff01203aa833256df5b70f
avformat/mpegts: set correct extradata size for Opus streams

map_type 0 is always 19 bytes, whereas map_type 1 and 255 are 21 + channel
count bytes.

Signed-off-by: James Almer <jamrial@gmail.com>
libavformat/mpegts.c
tests/ref/fate/ts-opus-demux