Am Mi., 1. Apr. 2020 um 15:48 Uhr schrieb Matthieu Bouron <matthieu.bou...@gmail.com>: > > On Wed, Apr 01, 2020 at 03:38:45PM +0200, Carl Eugen Hoyos wrote: > > Am Mi., 1. Apr. 2020 um 10:57 Uhr schrieb Matthieu Bouron > > <matthieu.bou...@gmail.com>: > > > > > > --- > > > libavformat/img2dec.c | 1 + > > > 1 file changed, 1 insertion(+) > > > > > > diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c > > > index 40f3e3d499e..93cd51c1932 100644 > > > --- a/libavformat/img2dec.c > > > +++ b/libavformat/img2dec.c > > > @@ -775,6 +775,7 @@ static int jpeg_probe(const AVProbeData *p) > > > return 0; > > > state = EOI; > > > break; > > > + case DHT: > > > case DQT: > > > case APP0: > > > case APP1: > > > > Please provide a sample file. > > This patch does not fix a particular issue. IMHO, we should skip the DHT > segment just like the other segments (and avoids parsing the data it > contains) unless there is a particular reason for it ?
I am (somewhat strongly) against patches that do not fix issues but Michael will hopefully comment. Or are you trying to improve probing speed? Carl Eugen _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".