Opened 15 years ago

Closed 14 years ago

#7447 closed defect (fixed)

Mythweb Flowplayer warnings at stream_flv.pl line 52

Reported by: jyrkipes Owned by: Rob Smith
Priority: minor Milestone: unknown
Component: Plugin - MythWeb Version: 0.22rc1
Severity: medium Keywords:
Cc: Ticket locked: no

Description

While trying to play recording with Flowplayer, will see in apache log:

[Wed Oct 28 16:19:18 2009] [error] [client 66.66.66.66] Unquoted string "width" may clash with future reserved word at modules/stream/stream_flv.pl line 52.
[Wed Oct 28 16:19:18 2009] [error] [client 66.66.66.66] Argument "width" isn't numeric in numeric ge (>=) at /usr/share/perl5/Math/Round.pm line 96.
[Wed Oct 28 16:19:18 2009] [error] [client 66.66.66.66] Argument "width" isn't numeric in abs at /usr/share/perl5/Math/Round.pm line 57.

This is due to missing $ on line 52:

$width = round_even(width);

should be

$width = round_even($width);

Note: my first ticket => apologies for no official patch included.

Change History (1)

comment:1 Changed 14 years ago by Rob Smith

Resolution: fixed
Status: newclosed

(In [22646]) Fixes #7447, this fixed a var missing a $

Note: See TracTickets for help on using tickets.