changeset 927:60241e4290e3 libavcodec

* fill codec_id in codec_open
author kabi
date Mon, 09 Dec 2002 18:54:09 +0000
parents 9a78dac52f4a
children 5627a7b7ce83
files utils.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/utils.c	Mon Dec 09 14:33:20 2002 +0000
+++ b/utils.c	Mon Dec 09 18:54:09 2002 +0000
@@ -263,6 +263,7 @@
     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);