[FFmpeg-cvslog] r21114 - trunk/libavcodec/internal.h

Alexander Strange astrange
Mon Jan 11 02:32:02 CET 2010


On Jan 9, 2010, at 11:04 PM, michael wrote:

> Author: michael
> Date: Sun Jan 10 05:04:51 2010
> New Revision: 21114
> 
> Log:
> Fix implicit declaration warning.

r21129:
libavcodec/mpegvideo_enc.c:574: warning: implicit declaration of function ?ff_match_2uint16?
libavcodec/ituh263enc.c:143: warning: implicit declaration of function ?ff_match_2uint16?
libavcodec/svq1enc.c:97: warning: implicit declaration of function ?ff_match_2uint16?

And then:
libavcodec/svq1enc.c:98: warning: passing argument 1 of ?ff_match_2uint16? from incompatible pointer type

Patches for both attached.

> Modified:
>   trunk/libavcodec/internal.h
> 
> Modified: trunk/libavcodec/internal.h
> ==============================================================================
> --- trunk/libavcodec/internal.h	Sat Jan  9 19:33:21 2010	(r21113)
> +++ trunk/libavcodec/internal.h	Sun Jan 10 05:04:51 2010	(r21114)
> @@ -42,4 +42,6 @@ int ff_is_hwaccel_pix_fmt(enum PixelForm
>  */
> AVHWAccel *ff_find_hwaccel(enum CodecID codec_id, enum PixelFormat pix_fmt);
> 
> +int ff_match_2uint16(const uint16_t (*tab)[2], int size, int a, int b);
> +
> #endif /* AVCODEC_INTERNAL_H */


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-missing-internal.h-to-files-calling-ff_match_2ui.patch
Type: application/octet-stream
Size: 1323 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20100110/023afbbc/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Fix-warning-in-svq1enc.c.patch
Type: application/octet-stream
Size: 1186 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20100110/023afbbc/attachment-0001.obj>



More information about the ffmpeg-cvslog mailing list