ffmpeg | branch: master | foo86 <fooba...@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 <jamr...@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; } _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog