Module: libav
Branch: release/0.8
Commit: ce3ce08850f1690dff01d9bb4ed6a4274d52771e

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/dca.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/dca.c b/libavcodec/dca.c
index a83d082..61a056e 100644
--- a/libavcodec/dca.c
+++ b/libavcodec/dca.c
@@ -1254,6 +1254,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