[FFmpeg-cvslog] dca: Error out on missing DSYNC
Luca Barbato
git at videolan.org
Tue Aug 27 18:02:16 CEST 2013
ffmpeg | branch: release/1.1 | Luca Barbato <lu_zero at gentoo.org> | Wed Jul 10 18:07:45 2013 +0200| [423ce8830e48f4dc2b9e19379c1d0c7e23705972] | committer: Luca Barbato
dca: Error out on missing DSYNC
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable at libav.org
(cherry picked from commit f261e508459e28beca59868a878e1519a44bb678)
Signed-off-by: Luca Barbato <lu_zero at gentoo.org>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=423ce8830e48f4dc2b9e19379c1d0c7e23705972
---
libavcodec/dcadec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/dcadec.c b/libavcodec/dcadec.c
index f26111a..a2d9964 100644
--- a/libavcodec/dcadec.c
+++ b/libavcodec/dcadec.c
@@ -1258,6 +1258,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;
}
}
More information about the ffmpeg-cvslog
mailing list