diff options
author | foo86 <foobaz86@gmail.com> | 2016-05-13 12:48:26 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2016-05-20 15:11:34 -0300 |
commit | 39f7620d76c7a133535ed7a535f7a74fefa6e435 (patch) | |
tree | 7ffcd484b14fd7d36ec3e67669a573a4ea84aac9 | |
parent | b5cda23039115e2bb83304462723c5f198c4418e (diff) | |
download | ffmpeg-39f7620d76c7a133535ed7a535f7a74fefa6e435.tar.gz |
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>
-rw-r--r-- | libavcodec/dcadec.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/dcadec.c b/libavcodec/dcadec.c index f31b658ddf..417632f7e5 100644 --- a/libavcodec/dcadec.c +++ b/libavcodec/dcadec.c @@ -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; } |