You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
nutdec: don't use deprecated codec_get_{bmp,wav}_id()
Originally committed as revision 9528 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user