projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e745ce
)
flacdec: remove redundant setting of avctx->sample_fmt
author
Mans Rullgard
<mans@mansr.com>
Mon, 2 Jul 2012 12:49:13 +0000
(13:49 +0100)
committer
Mans Rullgard
<mans@mansr.com>
Mon, 2 Jul 2012 21:13:32 +0000
(22:13 +0100)
Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/flacdec.c
patch
|
blob
|
history
diff --git
a/libavcodec/flacdec.c
b/libavcodec/flacdec.c
index
cd2a693
..
6a06d19
100644
(file)
--- a/
libavcodec/flacdec.c
+++ b/
libavcodec/flacdec.c
@@
-108,8
+108,6
@@
static av_cold int flac_decode_init(AVCodecContext *avctx)
FLACContext *s = avctx->priv_data;
s->avctx = avctx;
- avctx->sample_fmt = AV_SAMPLE_FMT_S16;
-
/* for now, the raw FLAC header is allowed to be passed to the decoder as
frame data instead of extradata. */
if (!avctx->extradata)