From eae213af43a3db24720d6df6b543224b7dce1fd3 Mon Sep 17 00:00:00 2001 From: Oded Shimon Date: Mon, 4 Feb 2008 10:30:38 +0000 Subject: [PATCH] Remove old workaround in nutdec.c for libnut bug Originally committed as revision 11853 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/nutdec.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c index 9ecf3d4a97..1519a652c3 100644 --- a/libavformat/nutdec.c +++ b/libavformat/nutdec.c @@ -336,11 +336,7 @@ static int decode_stream_header(NUTContext *nut){ ff_get_v(bc); /* csp type */ }else if (st->codec->codec_type == CODEC_TYPE_AUDIO){ GET_V(st->codec->sample_rate , tmp > 0) - tmp= ff_get_v(bc); // samplerate_den - if(tmp > st->codec->sample_rate){ - av_log(s, AV_LOG_ERROR, "Bleh, libnut muxed this ;)\n"); - st->codec->sample_rate= tmp; - } + ff_get_v(bc); // samplerate_den GET_V(st->codec->channels, tmp > 0) } if(skip_reserved(bc, end) || get_checksum(bc)){