Opened 16 years ago
Closed 16 years ago
#1390 closed defect (fixed)
crash when switch_ratio is used on audio only file
Reported by: | compn | Owned by: | reimar |
---|---|---|---|
Priority: | normal | Component: | core |
Version: | HEAD | Severity: | normal |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Reproduced by developer: | no | Analyzed by developer: | no |
Description
put
a switch_ratio 2.333 in input.conf
mplayer somefile.mp3 and hit a while playing
#0 run_command (mpctx=0xf54b00, cmd=0x13ba110) at command.c:2470
sh_audio = (sh_audio_t * const) 0x13934d0
sh_video = (sh_video_t * const) 0x0
Note:
See TracTickets
for help on using tickets.
patch by ShadowJK:
Index: command.c
===================================================================
--- command.c (revision 28348)
+++ command.c (working copy)
@@ -2463,6 +2463,7 @@
+ if(!sh_video) break;