[FFmpeg-cvslog] dca: Error out on missing DSYNC

Luca Barbato git at videolan.org
Fri Jul 12 14:32:46 CEST 2013


ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Wed Jul 10 18:07:45 2013 +0200| [f261e508459e28beca59868a878e1519a44bb678] | committer: Luca Barbato

dca: Error out on missing DSYNC

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable at libav.org

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f261e508459e28beca59868a878e1519a44bb678
---

 libavcodec/dcadec.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/dcadec.c b/libavcodec/dcadec.c
index 0f73375..de24e4e 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;
         }
     }
 



More information about the ffmpeg-cvslog mailing list