avformat/flvdec: Also print sum_flv_tag_size on size mismatches

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
pull/221/head
Michael Niedermayer 9 years ago
parent e8931d79cc
commit 3f380b9b40
  1. 2
      libavformat/flvdec.c

@ -1143,7 +1143,7 @@ leave:
if (last != orig_size + 11 && last != orig_size + 10 &&
(last != orig_size || !last) && last != flv->sum_flv_tag_size &&
!flv->broken_sizes) {
av_log(s, AV_LOG_ERROR, "Packet mismatch %d %d\n", last, orig_size + 11);
av_log(s, AV_LOG_ERROR, "Packet mismatch %d %d %d\n", last, orig_size + 11, flv->sum_flv_tag_size);
avio_seek(s->pb, pos + 1, SEEK_SET);
ret = resync(s);
av_packet_unref(pkt);

Loading…
Cancel
Save