diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-11-18 20:58:35 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-11-18 21:00:03 +0100 |
commit | 4adf1fe34f179af0b891d4f69857964f30a318ee (patch) | |
tree | 8f18ea67a5837004dbd382319322166454276b31 /libavcodec/pcm-dvd.c | |
parent | ab184b298d4a54199986de10927258aed18c7b6b (diff) | |
download | ffmpeg-4adf1fe34f179af0b891d4f69857964f30a318ee.tar.gz |
avcodec/pcm-dvd: fix incorrectly printed warning about changed block sizes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/pcm-dvd.c')
-rw-r--r-- | libavcodec/pcm-dvd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/pcm-dvd.c b/libavcodec/pcm-dvd.c index 243b6aa0bb..b268f1e632 100644 --- a/libavcodec/pcm-dvd.c +++ b/libavcodec/pcm-dvd.c @@ -248,7 +248,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->block_size) { + if (s->last_block_size && s->last_block_size != s->block_size) { av_log(avctx, AV_LOG_WARNING, "block_size has changed\n"); s->extra_sample_count = 0; } |