mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
Remove old workaround in nutdec.c for libnut bug
Originally committed as revision 11853 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
b19e3983cf
commit
eae213af43
@ -336,11 +336,7 @@ static int decode_stream_header(NUTContext *nut){
|
|||||||
ff_get_v(bc); /* csp type */
|
ff_get_v(bc); /* csp type */
|
||||||
}else if (st->codec->codec_type == CODEC_TYPE_AUDIO){
|
}else if (st->codec->codec_type == CODEC_TYPE_AUDIO){
|
||||||
GET_V(st->codec->sample_rate , tmp > 0)
|
GET_V(st->codec->sample_rate , tmp > 0)
|
||||||
tmp= ff_get_v(bc); // samplerate_den
|
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;
|
|
||||||
}
|
|
||||||
GET_V(st->codec->channels, tmp > 0)
|
GET_V(st->codec->channels, tmp > 0)
|
||||||
}
|
}
|
||||||
if(skip_reserved(bc, end) || get_checksum(bc)){
|
if(skip_reserved(bc, end) || get_checksum(bc)){
|
||||||
|
Loading…
Reference in New Issue
Block a user