[FFmpeg-devel] [PATCH]Fix warning when compiling h264.c

Michael Niedermayer michaelni
Mon Sep 29 15:06:03 CEST 2008


On Mon, Sep 29, 2008 at 12:36:54PM +0200, Carl Eugen Hoyos wrote:
> Hi!
>
> Attached patch fixes the following warning when compiling h264.c (with icc) 
> that was introduced in r15412:
> libavcodec/h264.c(3934): warning #266: function "copy_picture" declared
> implicitly
>           copy_picture(&s->last_picture, s->last_picture_ptr);
>           ^
>
> libavcodec/h264.c(3938): warning #266: function "copy_picture" declared
> implicitly
>           copy_picture(&s->next_picture, s->next_picture_ptr);
>           ^
>
> gcc:
> libavcodec/h264.c: In function ?decode_slice_header?:
> libavcodec/h264.c:3934: warning: implicit declaration of function
> ?copy_picture?

patch ok

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The misfortune of the wise is better than the prosperity of the fool.
-- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080929/975aeea0/attachment.pgp>



More information about the ffmpeg-devel mailing list