I see it is because of the below change in libavcodec/util.c,
-    avctx->codec_id = codec->id;
+    if ((avctx->codec_type == CODEC_TYPE_UNKNOWN || avctx->codec_type
== codec->type) &&
+        avctx->codec_id == CODEC_ID_NONE) {
+        avctx->codec_type = codec->type;
+        avctx->codec_id   = codec->id;
+    }
+    if(avctx->codec_id != codec->id || avctx->codec_type != codec->type){
+        av_log(avctx, AV_LOG_ERROR, "codec type or id mismatches\n");
+        goto free_and_end;
+    }

but I can't understand that in xmms2-0.7DrNo/src/plugins/avcodec/avcodec.c

        data->codecctx = g_new0 (AVCodecContext, 1);

is initialized to zero. In avcodec_open() function it should go into
the first if clause. why not.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to