1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-06-14 22:15:12 +02:00
Files
FFmpeg/libavformat
Mattias Wadman e447a4d112 libavformat/flacenc: reject too big picture blocks
A too big picture will case the muxer to write a truncated block size (uint24)
causing the output file to be corrupt.

How to reproduce:

Write a file with truncated block size:
ffmpeg -y -f lavfi -i sine -f lavfi -i color=red:size=2400x2400 -map 0🅰️0 -map 1✌️0 -c✌️0 bmp -disposition:1 attached_pic -t 1 test.flac

Try to decode:
ffmpeg -i test.flac test.wav

Signed-off-by: Mattias Wadman <mattias.wadman@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-11-01 14:43:16 +01:00
..
2019-05-20 11:58:12 -07:00
2019-05-20 11:58:12 -07:00
2019-05-04 12:03:24 +05:30
2017-09-20 03:31:48 +02:00
2019-08-13 15:38:57 +02:00
2019-10-29 16:20:33 +01:00
2019-03-20 18:38:48 +01:00
2019-08-23 22:24:07 +02:00
2019-05-20 11:58:12 -07:00
2019-10-24 19:45:17 +02:00
2019-09-02 23:08:43 +02:00
2019-10-21 21:05:14 -03:00
2019-10-08 13:47:16 +08:00
2019-05-20 11:58:12 -07:00
2019-09-27 12:15:50 +02:00
2019-09-02 23:08:43 +02:00
2018-02-11 20:03:33 +01:00
2018-02-11 20:03:33 +01:00
2018-05-21 19:43:04 -03:00
2018-05-21 19:43:04 -03:00
2019-03-20 18:38:48 +01:00
2019-10-08 13:46:42 +08:00
2019-06-14 21:36:39 +02:00
2019-06-29 19:22:19 +02:00
2019-07-14 22:17:43 +02:00