[MPlayer-cvslog] r34617 - trunk/libmpcodecs/ve_lavc.c

reimar subversion at mplayerhq.hu
Sat Jan 28 12:50:18 CET 2012


Author: reimar
Date: Sat Jan 28 12:50:18 2012
New Revision: 34617

Log:
Use AV_PICTURE_TYPE_I.

Modified:
   trunk/libmpcodecs/ve_lavc.c

Modified: trunk/libmpcodecs/ve_lavc.c
==============================================================================
--- trunk/libmpcodecs/ve_lavc.c	Sat Jan 28 12:06:35 2012	(r34616)
+++ trunk/libmpcodecs/ve_lavc.c	Sat Jan 28 12:50:18 2012	(r34617)
@@ -769,7 +769,7 @@ static int put_image(struct vf_instance 
     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))


More information about the MPlayer-cvslog mailing list