[FFmpeg-devel] [PATCH] QCP /QCELP remove warning when bitrate is missing
Kenan Gillet
kenan.gillet
Mon May 18 21:06:11 CEST 2009
Hi,
this patch is to avoid a possible flurry of warning when reading a QCP
file, because the bitrate is missing.
Kenan
-------------- next part --------------
Index: libavcodec/qcelpdec.c
===================================================================
--- libavcodec/qcelpdec.c (revision 18848)
+++ libavcodec/qcelpdec.c (working copy)
@@ -706,11 +706,7 @@
return I_F_Q;
}
(*buf)++;
- }else if((bitrate = buf_size2bitrate(buf_size + 1)) >= 0)
- {
- av_log(avctx, AV_LOG_WARNING,
- "Bitrate byte is missing, guessing the bitrate from packet size.\n");
- }else
+ }else if((bitrate = buf_size2bitrate(buf_size + 1)) < 0)
return I_F_Q;
if(bitrate == SILENCE)
More information about the ffmpeg-devel
mailing list