Просмотр исходного кода

framecrcenc: Also print the size of side data elements

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer 12 лет назад
Родитель
Сommit
b2c4431944
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      libavformat/framecrcenc.c

+ 1 - 1
libavformat/framecrcenc.c

@@ -38,7 +38,7 @@ static int framecrc_write_packet(struct AVFormatContext *s, AVPacket *pkt)
                                                    pkt->side_data->data,
                                                    pkt->side_data->data,
                                                    pkt->side_data->size);
                                                    pkt->side_data->size);
         av_strlcatf(buf, sizeof(buf), ", S=%d", pkt->side_data_elems);
         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");
     av_strlcatf(buf, sizeof(buf), "\n");
     avio_write(s->pb, buf, strlen(buf));
     avio_write(s->pb, buf, strlen(buf));