[FFmpeg-devel] [PATCH] h264.c : fix svq3_* function declarations

Rafaël Carré rafael.carre
Wed Jan 27 15:21:59 CET 2010


On Wed, 27 Jan 2010 12:33:03 +0000
M?ns Rullg?rd <mans at mansr.com> wrote:

> Rafa?l Carr? <rafael.carre at gmail.com> writes:

> > diff --git a/libavcodec/h264.c b/libavcodec/h264.c
> > index e4a47cf..6440b0b 100644
> > --- a/libavcodec/h264.c
> > +++ b/libavcodec/h264.c
> > @@ -43,8 +43,9 @@
> >  //#undef NDEBUG
> >  #include <assert.h>
> >  
> > -static void svq3_luma_dc_dequant_idct_c(DCTELEM *block, int qp);
> > -static void svq3_add_idct_c(uint8_t *dst, DCTELEM *block, int
> > stride, int qp, int dc); +/* from svq3.c */
> > +void svq3_luma_dc_dequant_idct_c(DCTELEM *block, int qp);
> > +void svq3_add_idct_c(uint8_t *dst, DCTELEM *block, int stride, int
> > qp, int dc);
> 
> Prototypes for extern functions should be in some header file included
> both by file(s) containing the definitions and those using the
> functions.

Add prototypes to h264.h (without a comment though)

Prefixed functions with ff_

-- 
Rafa?l Carr?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: svq3-h264.diff
Type: text/x-patch
Size: 4024 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100127/7db817a0/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100127/7db817a0/attachment.pgp>



More information about the ffmpeg-devel mailing list