[FFmpeg-cvslog] avcodec/dca: don't set initial sample_fmt
foo86
git at videolan.org
Fri May 20 20:13:44 CEST 2016
ffmpeg | branch: master | foo86 <foobaz86 at gmail.com> | Fri May 13 12:48:26 2016 +0300| [39f7620d76c7a133535ed7a535f7a74fefa6e435] | committer: James Almer
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 at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=39f7620d76c7a133535ed7a535f7a74fefa6e435
---
libavcodec/dcadec.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/libavcodec/dcadec.c b/libavcodec/dcadec.c
index f31b658..417632f 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;
}
More information about the ffmpeg-cvslog
mailing list