diff options
author | Zdenek Kabelac <kabi@informatics.muni.cz> | 2002-12-09 18:54:09 +0000 |
---|---|---|
committer | Zdenek Kabelac <kabi@informatics.muni.cz> | 2002-12-09 18:54:09 +0000 |
commit | 4cb3ca724d73db1a9e1e265afc080316f9f04ca0 (patch) | |
tree | 34185b449c4d8b5eae0ce33a53c6b5e77eaccda7 | |
parent | befaced573f0df0b6d5044822102cc0f2d013c6a (diff) | |
download | ffmpeg-4cb3ca724d73db1a9e1e265afc080316f9f04ca0.tar.gz |
* fill codec_id in codec_open
Originally committed as revision 1329 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 5733bdf2a3..907eb5804f 100644 --- 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); |