changeset 3013:2478b7222c56 libavformat

Remove old workaround in nutdec.c for libnut bug
author ods15
date Mon, 04 Feb 2008 10:30:38 +0000
parents 2214e8b1cb4d
children 66fb9d4dea91
files nutdec.c
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/nutdec.c	Mon Feb 04 10:29:03 2008 +0000
+++ b/nutdec.c	Mon Feb 04 10:30:38 2008 +0000
@@ -336,11 +336,7 @@
         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)){