changeset 34529:65f42b3c0efc

Use AV_PICTURE_TYPE_I.
author reimar
date Sat, 28 Jan 2012 11:50:18 +0000
parents cd1c0283e645
children c897dbc5f1de
files libmpcodecs/ve_lavc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ve_lavc.c	Sat Jan 28 11:06:35 2012 +0000
+++ b/libmpcodecs/ve_lavc.c	Sat Jan 28 11:50:18 2012 +0000
@@ -769,7 +769,7 @@
     pic->linesize[0]=mpi->stride[0];
     pic->linesize[1]=mpi->stride[1];
     pic->linesize[2]=mpi->stride[2];
-    pic->pict_type = is_forced_key_frame(pts) ? FF_I_TYPE : 0;
+    pic->pict_type = is_forced_key_frame(pts) ? AV_PICTURE_TYPE_I : 0;
 
     if(lavc_param_interlaced_dct){
         if((mpi->fields & MP_IMGFIELD_ORDERED) && (mpi->fields & MP_IMGFIELD_INTERLACED))