Merge commit 'f261e508459e28beca59868a878e1519a44bb678'
[ffmpeg.git] / libavcodec / dcadec.c
index aa58374..d1612e2 100644 (file)
@@ -1422,6 +1422,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;
         }
     }