Subject: | Mutex is uninitialized, pthread_mutex_lock returns EINVAL on OSX |
The Video-FFmpeg test fails on Mac OS X while trying to get the lock for
AVFormatCtxMP. If you add:
pthread_mutex_init(&AVFormatCtxMP, NULL);
under BOOT:, then it runs fine.
Also, an unrelated issue is that it checks for file existence before
opening a stream. This prevents using your module with network streams.
Thanks,
Mischa Spiegelmock