On 02/26/2012 03:21 PM, Diego Biurrun wrote:
On Sun, Feb 26, 2012 at 12:00:21PM +0100, Vitor Sessak wrote:--- a/libavcodec/amrnbdec.c +++ b/libavcodec/amrnbdec.c @@ -946,6 +946,13 @@ static int amrnb_decode_frame(AVCodecContext *avctx, void *data, + if (buf_size< frame_sizes_nb[p->cur_frame_mode] + 1) { + av_log(avctx, AV_LOG_ERROR, + "Frame too small (%d bytes). Truncated file?\n", buf_size);Indentation is off.
Fixed. -Vitor _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
