framecrcenc: Also print the size of side data elements

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-02-06 18:17:03 +01:00
parent 579c4add63
commit b2c4431944

View 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));