diff mpegvideo_enc.c @ 7974:2b20ad98e424 libavcodec

Rename copy_picture to ff_copy_picture.
author cehoyos
date Thu, 02 Oct 2008 00:27:09 +0000
parents 635ed2559262
children a0f9045e0a82
line wrap: on
line diff
--- a/mpegvideo_enc.c	Wed Oct 01 21:47:49 2008 +0000
+++ b/mpegvideo_enc.c	Thu Oct 02 00:27:09 2008 +0000
@@ -1161,7 +1161,7 @@
     if(s->reordered_input_picture[0]){
         s->reordered_input_picture[0]->reference= s->reordered_input_picture[0]->pict_type!=FF_B_TYPE ? 3 : 0;
 
-        copy_picture(&s->new_picture, s->reordered_input_picture[0]);
+        ff_copy_picture(&s->new_picture, s->reordered_input_picture[0]);
 
         if(s->reordered_input_picture[0]->type == FF_BUFFER_TYPE_SHARED || s->avctx->rc_buffer_size){
             // input is a shared pix, so we can't modifiy it -> alloc a new one & ensure that the shared one is reuseable
@@ -1193,7 +1193,7 @@
                 s->new_picture.data[i]+= INPLACE_OFFSET;
             }
         }
-        copy_picture(&s->current_picture, s->current_picture_ptr);
+        ff_copy_picture(&s->current_picture, s->current_picture_ptr);
 
         s->picture_number= s->new_picture.display_picture_number;
 //printf("dpn:%d\n", s->picture_number);