git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14b903f
)
Allow decoders to correctly set the sample format by defaulting to
author
Jai Menon
<jmenon86@gmail.com>
Thu, 26 Nov 2009 20:46:13 +0000
(20:46 +0000)
committer
Jai Menon
<jmenon86@gmail.com>
Thu, 26 Nov 2009 20:46:13 +0000
(20:46 +0000)
SAMPLE_FMT_NONE in avcodec_get_context_defaults2.
Originally committed as revision 20623 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/options.c
patch
|
blob
|
history
diff --git
a/libavcodec/options.c
b/libavcodec/options.c
index
ded294e
..
fa64294
100644
(file)
--- a/
libavcodec/options.c
+++ b/
libavcodec/options.c
@@
-437,7
+437,7
@@
void avcodec_get_context_defaults2(AVCodecContext *s, enum CodecType codec_type)
s->execute2= avcodec_default_execute2;
s->sample_aspect_ratio= (AVRational){0,1};
s->pix_fmt= PIX_FMT_NONE;
- s->sample_fmt= SAMPLE_FMT_
S16; // FIXME: set to NONE
+ s->sample_fmt= SAMPLE_FMT_
NONE;
s->palctrl = NULL;
s->reget_buffer= avcodec_default_reget_buffer;