[FFmpeg-devel] [PATCH] fix ffmpeg compilation with DEBUG defined

Maksym Veremeyenko verem at m1stereo.tv
Tue May 10 14:12:40 CEST 2011


Hi,

during building ffmpeg with defined DEBUG macro it failed on 
libavcodec/motion_est.c due to av_dlog call with outdated parameters:


CC	libavcodec/motionpixels.o
libavcodec/motion_est.c: In function ‘ff_estimate_p_frame_motion’:
libavcodec/motion_est.c:1122:5: error: ‘MpegEncContext’ has no member 
named ‘avg_mb_var’
libavcodec/motion_est.c:1122:5: error: ‘xx’ undeclared (first use in 
this function)
libavcodec/motion_est.c:1122:5: note: each undeclared identifier is 
reported only once for each function it appears in
libavcodec/motion_est.c:1122:5: error: ‘yy’ undeclared (first use in 
this function)

attached patch remove this av_dlog call.

-- 
________________________________________
Maksym Veremeyenko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-fix-compilation-with-DEBUG-defined.patch
Type: text/x-patch
Size: 951 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110510/cc1455fc/attachment.bin>


More information about the ffmpeg-devel mailing list