summaryrefslogtreecommitdiff
path: root/libavcodec/dcadec.c
diff options
context:
space:
mode:
authorfoo86 <foobaz86@gmail.com>2016-05-13 12:48:26 +0300
committerJames Almer <jamrial@gmail.com>2016-05-20 15:11:34 -0300
commit39f7620d76c7a133535ed7a535f7a74fefa6e435 (patch)
tree7ffcd484b14fd7d36ec3e67669a573a4ea84aac9 /libavcodec/dcadec.c
parentb5cda23039115e2bb83304462723c5f198c4418e (diff)
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>
Diffstat (limited to 'libavcodec/dcadec.c')
-rw-r--r--libavcodec/dcadec.c3
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;
}