mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avcodec/pcm-dvd: fix incorrectly printed warning about changed block sizes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
ab184b298d
commit
4adf1fe34f
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user