av_freep not defined?
During compilation of 3.2.1 I kept getting a compilation error:
ffmpeg.c line 426 __av_freep not defined...
There were about ten of these errors on different line numbers.
I found 3.2.2.snap_2 and compiled that...although the earlier complaints about "signedness" dissappeared the same
ffmpeg.c line 426 __av_freep not defined appeared.
I went into ffmpeg.c and changed the suspected problems av_freep to av_free. It compiled just fine, but when it detects motion the program crashes. It will run the mini_server and show the image with timestamp changing (as long as it doesn't exceed the threshold).
Obviously, av_freep is not this issue.
What can I do to fix this?
| Motion version:
| ffmpeg version:
|| ffmpeg, mysql
| Server OS:
|| Fedora Core 4
- 08 Aug 2005
You probably installed a very new ffmpeg and the ffmpeg team changes API like the wind blows with no respect to the projects that uses the libs.
The mod you have made is probably not good and will make Motion crash when motion is detected and ffmpeg comes to use.
Download the MotionRelease3x2x2snap10
and apply this patch FfmpegCodecPatch
That should get you going.
You can also just find an older rpm for your FC4.
ffmpeg-0.4.9-0.lvn.0.15.20050427.4.i386.rpm and ffmpeg-devel-0.4.9-0.lvn.0.15.20050427.4.i386.rpm is a known good rpm combination for FC4. Download from the Livna repository.
Or wait for 3.2.2_snap11 due in a few days.
- 08 Aug 2005