[FFmpeg-cvslog] framecrcenc: Also print the size of side data elements

Michael Niedermayer git at videolan.org
Wed Feb 6 18:25:02 CET 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Feb  6 18:17:03 2013 +0100| [b2c44319448478a113b0d7935ca084839827131c] | committer: Michael Niedermayer

framecrcenc: Also print the size of side data elements

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b2c44319448478a113b0d7935ca084839827131c
---

 libavformat/framecrcenc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/framecrcenc.c b/libavformat/framecrcenc.c
index eddcabe..29960f9 100644
--- a/libavformat/framecrcenc.c
+++ b/libavformat/framecrcenc.c
@@ -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));



More information about the ffmpeg-cvslog mailing list