On Wed, 11 Sep 2013, Alexandra Khirnova wrote:
--- libavformat/utils.c | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-)@@ -520,7 +525,8 @@ int ff_read_packet(AVFormatContext *s, AVPacket *pkt) for (i = 0; i < s->nb_streams; i++) { st = s->streams[i]; if (st->probe_packets) { - probe_codec(s, st, NULL); + if ((err = probe_codec(s, st, NULL) < 0)) + return err; } } continue;
The parentheses are incorrectly nested here, this doesn't do what you want.
// Martin _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
