changeset 7937:50516d28608a libavcodec

Fix a warning about an undefined function when compiling h264.c
author cehoyos
date Mon, 29 Sep 2008 15:41:55 +0000
parents 673cac811afb
children 66226ee647a4
files mpegvideo.h mpegvideo_common.h
diffstat 2 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mpegvideo.h	Mon Sep 29 06:22:12 2008 +0000
+++ b/mpegvideo.h	Mon Sep 29 15:41:55 2008 +0000
@@ -701,6 +701,7 @@
                        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;
--- a/mpegvideo_common.h	Mon Sep 29 06:22:12 2008 +0000
+++ b/mpegvideo_common.h	Mon Sep 29 15:41:55 2008 +0000
@@ -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