framecrcenc: Also print the size of side data elements
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 6 Feb 2013 17:17:03 +0000 (18:17 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 6 Feb 2013 17:17:03 +0000 (18:17 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/framecrcenc.c

index eddcabe..29960f9 100644 (file)
@@ -38,7 +38,7 @@ static int framecrc_write_packet(struct AVFormatContext *s, AVPacket *pkt)
                                                    pkt->side_data->data,
                                                    pkt->side_data->size);
         av_strlcatf(buf, sizeof(buf), ", S=%d", pkt->side_data_elems);
-        av_strlcatf(buf, sizeof(buf), ", 0x%08x", side_data_crc);
+        av_strlcatf(buf, sizeof(buf), ", %8d, 0x%08x", pkt->side_data->size, side_data_crc);
     }
     av_strlcatf(buf, sizeof(buf), "\n");
     avio_write(s->pb, buf, strlen(buf));