Commit 3f380b9b authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/flvdec: Also print sum_flv_tag_size on size mismatches

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent e8931d79
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment