Module: libav
Branch: release/9
Commit: 423ce8830e48f4dc2b9e19379c1d0c7e23705972

Author:    Luca Barbato <[email protected]>
Committer: Luca Barbato <[email protected]>
Date:      Wed Jul 10 18:07:45 2013 +0200

dca: Error out on missing DSYNC

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: [email protected]
(cherry picked from commit f261e508459e28beca59868a878e1519a44bb678)

Signed-off-by: Luca Barbato <[email protected]>

---

 libavcodec/dcadec.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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;
         }
     }
 

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to