[FFmpeg-cvslog] avcodec/pcm-dvd: print actual block size values in block size changed warning

Michael Niedermayer git at videolan.org
Mon Nov 18 21:06:49 CET 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Nov 18 20:59:21 2013 +0100| [918cab1a9f68ed37e7bf8faf96f1fd88651ee607] | committer: Michael Niedermayer

avcodec/pcm-dvd: print actual block size values in block size changed warning

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

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

 libavcodec/pcm-dvd.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/pcm-dvd.c b/libavcodec/pcm-dvd.c
index b268f1e..77da8bf 100644
--- a/libavcodec/pcm-dvd.c
+++ b/libavcodec/pcm-dvd.c
@@ -249,7 +249,7 @@ static int pcm_dvd_decode_frame(AVCodecContext *avctx, void *data,
     if ((retval = pcm_dvd_parse_header(avctx, src)))
         return retval;
     if (s->last_block_size && s->last_block_size != s->block_size) {
-        av_log(avctx, AV_LOG_WARNING, "block_size has changed\n");
+        av_log(avctx, AV_LOG_WARNING, "block_size has changed %d != %d\n", s->last_block_size, s->block_size);
         s->extra_sample_count = 0;
     }
     s->last_block_size = s->block_size;



More information about the ffmpeg-cvslog mailing list