Line 1046 of source code doesn't work for me

if (strpos($format, 'EA   libmp3lame') !== FALSE) { 

I try to execute ffmpeg.exe -formats and the output for the above line is this:

 EA    libmp3lame

There are 4 space char between EA and libmp3lame, instead of 3.

For this reason libmp3lame for me is never used.

I used this :

if (strpos($format, 'libmp3lame') !== FALSE) { 

But maybe this it's safer

if (preg_match("/EA\s+libmp3lame/mi", $format) 

Comments

tagliavinid’s picture

Sorry, this code is better, I forgot a parenthesis in the previous one

if (preg_match("/EA\s+libmp3lame/mi", $format))  {
attheshow’s picture

Assigned: Unassigned » attheshow
Status: Active » Fixed

Committed to dev version. Thanks tagliavinid!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.