dca: Error out on missing DSYNC

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
pull/27/head
Luca Barbato 12 years ago
parent c82da343e6
commit f261e50845
  1. 1
      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;
}
}

Loading…
Cancel
Save