Commit 88b2295f authored by ods15's avatar ods15

Remove old workaround in nutdec.c for libnut bug


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11853 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e1c59d41
......@@ -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)){
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment