aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/g723_1.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-04-20 07:47:06 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-05-01 07:20:22 +0200
commitc91e3690d9c6667123b116c9fd3becf5f4f4530e (patch)
treeda2434d1812fa42afb8a9abb6df55a12d482f925 /libavcodec/g723_1.c
parentc6f60b90f00da7d942a7dbeb513ed284953f6f20 (diff)
downloadffmpeg-c91e3690d9c6667123b116c9fd3becf5f4f4530e.tar.gz
avformat/matroskadec: Fix demuxing RealAudio 28.8
RealAudio 28.8 does not need or use sub_packet_size for its demuxing and this field is therefore commonly set to zero. But since 18ca491b the Real Audio specific demuxing is no longer applied if sub_packet_size is zero because the codepath for cook and ATRAC3 divide by it; this made these files undecodable. Furthermore, since 569d18aa (merged in 2c8d876d) sub_packet_size being zero is used as an indicator for invalid data, so that a file containing such a track was completely skipped. This commit fixes this by not checking sub_packet_size for RealAudio 28.8 at all. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/g723_1.c')
0 files changed, 0 insertions, 0 deletions