diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2013-07-10 18:07:45 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2013-07-12 04:34:49 +0200 |
commit | f261e508459e28beca59868a878e1519a44bb678 (patch) | |
tree | b7e2247bdc219add1a8b8968e7a892d2e56b49ab /libavcodec | |
parent | c82da343e635663605bd81c59d872bee3182da73 (diff) | |
download | ffmpeg-f261e508459e28beca59868a878e1519a44bb678.tar.gz |
dca: Error out on missing DSYNC
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/dcadec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/dcadec.c b/libavcodec/dcadec.c index 0f7337574f..de24e4e62b 100644 --- a/libavcodec/dcadec.c +++ b/libavcodec/dcadec.c @@ -1256,6 +1256,7 @@ static int dca_subsubframe(DCAContext *s, int base_channel, int block_index) #endif } else { av_log(s->avctx, AV_LOG_ERROR, "Didn't get subframe DSYNC\n"); + return AVERROR_INVALIDDATA; } } |