Opened 16 years ago
Last modified 14 years ago
#1337 new defect
[PATCH] -demuxer lavf and dimensions not set crash
Reported by: | Owned by: | reimar | |
---|---|---|---|
Priority: | normal | Component: | demuxer |
Version: | HEAD | Severity: | normal |
Keywords: | Cc: | compn, jojelino@… | |
Blocked By: | Blocking: | ||
Reproduced by developer: | no | Analyzed by developer: | no |
Description
hi,
the command
./mencoder -ss 8 -ovc lavc -demuxer lavf -oac copy -o /tmp/pianta.avi -of lavf /data4/tv/MIIB.mpeg
(the file is at the above URL)
dies of a division by zero; here following is the backtrace
#0 av_frac_add (f=0x8dd8270, incr=<value optimized out>) at utils.c:87
#1 0x0825cbb2 in compute_pkt_fields2 (st=0x8dd8250, pkt=0xbf9eac64)
at utils.c:2590
#2 0x0825feb8 in av_interleaved_write_frame (s=0x8ddb9d0, pkt=0xbf9eac64)
at utils.c:2688
#3 0x080ac48f in write_chunk (stream=0x8dd7990, len=384,
flags=<value optimized out>, dts=0, pts=0) at libmpdemux/muxer_lavf.c:261
#4 0x080a111c in muxer_write_chunk (s=0x8dd7990, len=0, flags=0,
dts=-9.2233720368547758e+18, pts=-9.2233720368547758e+18)
at libmpdemux/muxer.c:125
#5 0x0809b7c8 in main (argc=148732304, argv=0xbf9eaff4) at mencoder.c:1385
a simple patch avoids this problem
a.
Attachments (1)
Change History (10)
by , 16 years ago
Attachment: | utils.c.diff added |
---|
comment:1 by , 16 years ago
comment:4 by , 14 years ago
Owner: | changed from | to
---|
comment:5 by , 14 years ago
Cc: | added |
---|---|
Summary: | crash when using '-ss -demuxer lavf ' → [PATCH] crash when using '-ss -demuxer lavf ' |
comment:6 by , 14 years ago
Cc: | added |
---|
comment:7 by , 14 years ago
comment:8 by , 14 years ago
Unfortunately the patch is not a proper solution.
There should never be a 0 there, the real difficulty is figuring how it got there and fix the source of it.
comment:9 by , 14 years ago
Summary: | [PATCH] crash when using '-ss -demuxer lavf ' → [PATCH] -demuxer lavf and dimensions not set crash |
---|
try mplayer demuxer over lavf ?
update title.
patch