changeset 2228:9c2823ab0146 libavformat

nutdec: don't use deprecated codec_get_{bmp,wav}_id()
author mru
date Sun, 08 Jul 2007 01:41:07 +0000
parents 8cf17fde9a1c
children 4db0808c3f91
files nutdec.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/nutdec.c	Sun Jul 08 01:41:06 2007 +0000
+++ b/nutdec.c	Sun Jul 08 01:41:07 2007 +0000
@@ -302,13 +302,13 @@
     {
         case 0:
             st->codec->codec_type = CODEC_TYPE_VIDEO;
-            st->codec->codec_id = codec_get_bmp_id(tmp);
+            st->codec->codec_id = codec_get_id(codec_bmp_tags, tmp);
             if (st->codec->codec_id == CODEC_ID_NONE)
                 av_log(s, AV_LOG_ERROR, "Unknown codec?!\n");
             break;
         case 1:
             st->codec->codec_type = CODEC_TYPE_AUDIO;
-            st->codec->codec_id = codec_get_wav_id(tmp);
+            st->codec->codec_id = codec_get_id(codec_wav_tags, tmp);
             if (st->codec->codec_id == CODEC_ID_NONE)
                 av_log(s, AV_LOG_ERROR, "Unknown codec?!\n");
             break;