diff options
author | Måns Rullgård <mans@mansr.com> | 2007-07-08 01:41:07 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2007-07-08 01:41:07 +0000 |
commit | 99a452342c8b76d8534cb816e3b622c3eb3e717b (patch) | |
tree | 4c108b164c68eb126187c087ac2bd6be40b4dfb9 /libavformat/nutdec.c | |
parent | 7ea18c8c1ec1cc95f67a4aaa383db34979c2869b (diff) | |
download | ffmpeg-streaming-99a452342c8b76d8534cb816e3b622c3eb3e717b.zip ffmpeg-streaming-99a452342c8b76d8534cb816e3b622c3eb3e717b.tar.gz |
nutdec: don't use deprecated codec_get_{bmp,wav}_id()
Originally committed as revision 9528 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/nutdec.c')
-rw-r--r-- | libavformat/nutdec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c index 72d3ea0..b32bcaa 100644 --- a/libavformat/nutdec.c +++ b/libavformat/nutdec.c @@ -302,13 +302,13 @@ static int decode_stream_header(NUTContext *nut){ { 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; |