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

Michael Niedermayer michaelni at gmx.at
Tue May 10 17:17:32 CEST 2011

On Tue, May 10, 2011 at 03:12:40PM +0300, Maksym Veremeyenko wrote:
> 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.

thx, applied


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110510/4e8046f9/attachment.asc>

More information about the ffmpeg-devel mailing list