Commit 9468e9e5 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'b3d905b7'

* commit 'b3d905b7':
  dcadec: Delete redundant init_get_bits call
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents b11265c9 b3d905b7
...@@ -2142,7 +2142,6 @@ static int dca_decode_frame(AVCodecContext *avctx, void *data, ...@@ -2142,7 +2142,6 @@ static int dca_decode_frame(AVCodecContext *avctx, void *data,
return AVERROR_INVALIDDATA; return AVERROR_INVALIDDATA;
} }
init_get_bits(&s->gb, s->dca_buffer, s->dca_buffer_size * 8);
if ((ret = dca_parse_frame_header(s)) < 0) { if ((ret = dca_parse_frame_header(s)) < 0) {
//seems like the frame is corrupt, try with the next one //seems like the frame is corrupt, try with the next one
return ret; return ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment