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:
befaced
)
* fill codec_id in codec_open
author
Zdenek Kabelac
<kabi@informatics.muni.cz>
Mon, 9 Dec 2002 18:54:09 +0000
(18:54 +0000)
committer
Zdenek Kabelac
<kabi@informatics.muni.cz>
Mon, 9 Dec 2002 18:54:09 +0000
(18:54 +0000)
Originally committed as revision 1329 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/utils.c
patch
|
blob
|
history
diff --git
a/libavcodec/utils.c
b/libavcodec/utils.c
index
5733bdf
..
907eb58
100644
(file)
--- a/
libavcodec/utils.c
+++ b/
libavcodec/utils.c
@@
-263,6
+263,7
@@
int avcodec_open(AVCodecContext *avctx, AVCodec *codec)
int ret;
avctx->codec = codec;
+ avctx->codec_id = codec->id;
avctx->frame_number = 0;
if (codec->priv_data_size > 0) {
avctx->priv_data = av_mallocz(codec->priv_data_size);