diff options
author | Eduard Sinelnikov <endushka@gmail.com> | 2018-01-08 14:03:40 +0000 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-01-11 03:29:25 +0100 |
commit | 7fcbebbeafd106d5bab82b272076f7ceb5bc4a73 (patch) | |
tree | 99d7cf48ea01db333b364ace90ccd6d497625c61 /libavcodec/faanidct.c | |
parent | 526a87b47124bfd2d57901d1b9abd6d322eaf293 (diff) | |
download | ffmpeg-7fcbebbeafd106d5bab82b272076f7ceb5bc4a73.tar.gz |
avformat/aiffdec: AIFF fix in case of ANNO
Apple's AIFF protocol clearly states that each chucnk which is odd sized a padding should be added.
In the old version of aiffdec adding of padding was done in `get_meta`. And in case of unknown chunk name it was done in defalut case.
The new version has deleted the padding in default case and added padding adding after the switch.
But the new version didn't removed the padding adding in the `get_meta` function so in some cases padding was added twice which leaded to a bug.
Fixes: sample.aiff
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/faanidct.c')
0 files changed, 0 insertions, 0 deletions