Needs work
Project:
FFmpeg Wrapper
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Nov 2009 at 19:33 UTC
Updated:
22 Nov 2009 at 20:23 UTC
Undefined variables/array keys cause lots of PHP notices on the settings page. That is, if you have strict error reporting enabled. This isn't a big problem, but here's a patch to fix them.
Also, one of the changes seems to be needed in order for the $can_audio_decode and $can_video_decode variables to be valid in each iteration of the foreach loop in ffmpeg_wrapper_can_decode().
| Comment | File | Size | Author |
|---|---|---|---|
| ffmpeg_wrapper_notices.patch | 4.9 KB | zoo33 |
Comments
Comment #1
zoo33 commentedOn the other hand, with my patch conversions fail. Can't figure out why right now, but it may be those $can_x_decode variables. Sorry!