OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43924f0
)
set codec_type on init
author
Alex Beregszaszi
<alex@rtfs.hu>
Tue, 17 Jul 2007 13:35:16 +0000
(13:35 +0000)
committer
Alex Beregszaszi
<alex@rtfs.hu>
Tue, 17 Jul 2007 13:35:16 +0000
(13:35 +0000)
Originally committed as revision 9721 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/utils.c
patch
|
blob
|
history
diff --git
a/libavcodec/utils.c
b/libavcodec/utils.c
index
bdc67c1
..
f5f9f2f
100644
(file)
--- a/
libavcodec/utils.c
+++ b/
libavcodec/utils.c
@@
-759,6
+759,7
@@
void avcodec_get_context_defaults2(AVCodecContext *s, enum CodecType codec_type)
s->av_class= &av_codec_context_class;
+ s->codec_type = codec_type;
if(codec_type == CODEC_TYPE_AUDIO)
flags= AV_OPT_FLAG_AUDIO_PARAM;
else if(codec_type == CODEC_TYPE_VIDEO)