Opened 11 years ago

Closed 11 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: Analyzed by developer:


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

Change History (2)

comment:1 Changed 11 years ago by compn

patch by ShadowJK:

Index: command.c
--- command.c (revision 28348)
+++ command.c (working copy)
@@ -2463,6 +2463,7 @@



+ if(!sh_video) break;

if (cmd->nargs == 0
cmd->args[0].v.f == -1)

movie_aspect = (float) sh_video->disp_w / sh_video->disp_h;


comment:2 Changed 11 years ago by compn

  • Resolution set to fixed
  • Status changed from new to closed

fixed in 28403

Note: See TracTickets for help on using tickets.