From bf615b89e38f12d1096e406fbd109e40a772377b Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Mon, 29 Sep 2008 15:41:55 +0000 Subject: [PATCH] Fix a warning about an undefined function when compiling h264.c Originally committed as revision 15462 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mpegvideo.h | 1 + libavcodec/mpegvideo_common.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h index 0477d443d2..2c2a509dc4 100644 --- a/libavcodec/mpegvideo.h +++ b/libavcodec/mpegvideo.h @@ -701,6 +701,7 @@ void ff_convert_matrix(DSPContext *dsp, int (*qmat)[64], uint16_t (*qmat16)[2][6 const uint16_t *quant_matrix, int bias, int qmin, int qmax, int intra); void ff_init_block_index(MpegEncContext *s); +void copy_picture(Picture *dst, Picture *src); static inline void ff_update_block_index(MpegEncContext *s){ const int block_size= 8>>s->avctx->lowres; diff --git a/libavcodec/mpegvideo_common.h b/libavcodec/mpegvideo_common.h index 034217e156..6875e85313 100644 --- a/libavcodec/mpegvideo_common.h +++ b/libavcodec/mpegvideo_common.h @@ -41,7 +41,6 @@ int dct_quantize_c(MpegEncContext *s, DCTELEM *block, int n, int qscale, int *overflow); int dct_quantize_trellis_c(MpegEncContext *s, DCTELEM *block, int n, int qscale, int *overflow); void denoise_dct_c(MpegEncContext *s, DCTELEM *block); -void copy_picture(Picture *dst, Picture *src); /** * allocates a Picture