[FFmpeg-trac] #1064(avformat:open): Div/0 integer exception cased in aiffdec.c for A-Law AIFFs
FFmpeg
trac at avcodec.org
Tue Mar 13 23:12:47 CET 2012
#1064: Div/0 integer exception cased in aiffdec.c for A-Law AIFFs
------------------------------------+------------------------------------
Reporter: dmitrykos | Owner:
Type: defect | Status: open
Priority: important | Component: avformat
Version: git-master | Resolution:
Keywords: aiff | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Changes (by cehoyos):
* keywords: => aiff
* priority: critical => important
* status: new => open
* component: FFmpeg => avformat
* reproduced: 0 => 1
Comment:
{{{
$ ffmpeg -i input -acodec pcm_alaw out.aiff
...
(gdb) r -i out.aiff
Starting program: /home/cehoyos/Projects/ffmpeg/ffmpeg_g -i out.aiff
[Thread debugging using libthread_db enabled]
[New Thread 0xb7c056c0 (LWP 25589)]
ffmpeg version N-38765-ge05253b Copyright (c) 2000-2012 the FFmpeg
developers
built on Mar 13 2012 13:21:33 with gcc 4.3.2
configuration: --cc=/usr/local/gcc-4.3.2/bin/gcc --enable-gpl
libavutil 51. 42.100 / 51. 42.100
libavcodec 54. 10.100 / 54. 10.100
libavformat 54. 2.100 / 54. 2.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 64.101 / 2. 64.101
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 7.100 / 0. 7.100
libpostproc 52. 0.100 / 52. 0.100
Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 0xb7c056c0 (LWP 25589)]
0x0819f5a7 in aiff_read_header (s=0x8eb6aa0) at libavformat/aiffdec.c:162
162 codec->bit_rate = codec->sample_rate * (codec->block_align <<
3) /
(gdb) bt
#0 0x0819f5a7 in aiff_read_header (s=0x8eb6aa0) at
libavformat/aiffdec.c:162
#1 0x08188146 in avformat_open_input (ps=0xbf805764,
filename=0xbf807283 "out.aiff", fmt=0x0, options=0x8df766c)
at libavformat/utils.c:622
#2 0x080535ab in opt_input_file (o=0xbf805848, opt=0xbf807281 "i",
filename=0xbf807283 "out.aiff") at ffmpeg.c:3691
#3 0x0805ef12 in parse_option (optctx=0xbf805848, opt=0xbf807281 "i",
arg=0xbf807283 "out.aiff", options=0x87c9fc0) at cmdutils.c:300
#4 0x0805f2a3 in parse_options (optctx=0xbf805848, argc=3,
argv=0xbf805a84,
options=0x87c9fc0, parse_arg_function=0x8059b50 <opt_output_file>)
at cmdutils.c:333
#5 0x08058dc6 in main (argc=3, argv=0xbf805a84) at ffmpeg.c:5151
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1064#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list