[FFmpeg-trac] #7859(avformat:new): Wrong ARMovie audio codec detection
FFmpeg
trac at avcodec.org
Tue Apr 23 06:05:53 EEST 2019
#7859: Wrong ARMovie audio codec detection
-------------------------------------+-------------------------------------
Reporter: stohrendorf | Type: defect
Status: new | Priority: normal
Component: avformat | Version: git-
| master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug: ARMovie Audio Codec detection must not be case
sensitive
Details:
The string checks at
https://github.com/FFmpeg/FFmpeg/blob/master/libavformat/rpl.c#L213 should
be case-insensitive. Tomb Raider 1 has ARMovie files which contain
uppercase "LINEAR" and "UNSIGNED", so libavformat falsely returns
AV_CODEC_ID_PCM_VIDC instead of AV_CODEC_ID_PCM_U8.
Example:
{{{
8 bits per sample (LINEAR UNSIGNED)
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7859>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list