Browse Source

avcodec/dca: don't set initial sample_fmt

Valid sample_fmt will be set by dcadec_decode_frame() based on stream type.

Signed-off-by: James Almer <jamrial@gmail.com>
tags/n3.1
foo86 James Almer 9 years ago
parent
commit
39f7620d76
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      libavcodec/dcadec.c

+ 0
- 3
libavcodec/dcadec.c View File

@@ -378,9 +378,6 @@ static av_cold int dcadec_init(AVCodecContext *avctx)
break;
}

avctx->sample_fmt = AV_SAMPLE_FMT_S32P;
avctx->bits_per_raw_sample = 24;

return 0;
}



Loading…
Cancel
Save