diff utils.c @ 927:60241e4290e3 libavcodec

* fill codec_id in codec_open
author kabi
date Mon, 09 Dec 2002 18:54:09 +0000
parents 7fccaa0d699d
children 176fd8c8e8a8
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);