1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2026-05-16 08:38:24 +02:00
Files
FFmpeg/libavformat
Andreas Cadhalpun e14da0578c avformat: prevent triggering request_probe assert in ff_read_packet
If probe_codec is called with pkt == NULL, it sets probe_packets to 0
and request_probe to -1.
However, request_probe can change when calling s->iformat->read_packet
and thus a probe_packets value of 0 doesn't guarantee a request_probe
value of -1.
In that case calling probe_codec again is necessary to prevent
triggering the assert.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
(cherry picked from commit a5b4476a60)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2016-11-27 00:46:30 +01:00
..
2016-01-15 12:30:40 +01:00
2016-01-28 15:53:54 +01:00
2015-08-18 10:24:01 -04:00
2016-01-27 23:45:44 +01:00
2016-04-28 23:26:45 +02:00
2015-09-03 12:42:40 +02:00
2015-08-20 12:22:50 +02:00
2016-01-15 15:49:35 +01:00
2016-01-28 15:53:54 +01:00
2016-01-15 12:30:40 +01:00
2015-08-21 04:24:58 +00:00
2016-08-15 20:25:13 +02:00
2015-09-01 22:46:23 +02:00
2015-12-20 13:39:45 +01:00
2015-12-06 02:51:27 +01:00
2015-09-01 13:35:37 +02:00
2015-12-13 10:14:24 +01:00