dca: Error out on missing DSYNC

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
(cherry picked from commit f261e50845)

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
This commit is contained in:
Luca Barbato
2013-07-10 18:07:45 +02:00
parent 5e46ad33eb
commit 423ce8830e

View File

@@ -1258,6 +1258,7 @@ static int dca_subsubframe(DCAContext *s, int base_channel, int block_index)
#endif #endif
} else { } else {
av_log(s->avctx, AV_LOG_ERROR, "Didn't get subframe DSYNC\n"); av_log(s->avctx, AV_LOG_ERROR, "Didn't get subframe DSYNC\n");
return AVERROR_INVALIDDATA;
} }
} }