summaryrefslogtreecommitdiff
path: root/libavcodec/dcadec.c
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2013-07-10 18:07:45 +0200
committerLuca Barbato <lu_zero@gentoo.org>2013-07-12 04:34:49 +0200
commitf261e508459e28beca59868a878e1519a44bb678 (patch)
treeb7e2247bdc219add1a8b8968e7a892d2e56b49ab /libavcodec/dcadec.c
parentc82da343e635663605bd81c59d872bee3182da73 (diff)
dca: Error out on missing DSYNC
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
Diffstat (limited to 'libavcodec/dcadec.c')
-rw-r--r--libavcodec/dcadec.c1
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;
}
}