[MPlayer-cvslog] r34609 - trunk/libmpcodecs/vd_ffmpeg.c

reimar subversion at mplayerhq.hu
Sat Jan 28 11:31:24 CET 2012


Author: reimar
Date: Sat Jan 28 11:31:24 2012
New Revision: 34609

Log:
Switch to using AV_PICTURE_TYPE.

Modified:
   trunk/libmpcodecs/vd_ffmpeg.c

Modified: trunk/libmpcodecs/vd_ffmpeg.c
==============================================================================
--- trunk/libmpcodecs/vd_ffmpeg.c	Sat Jan 28 11:28:45 2012	(r34608)
+++ trunk/libmpcodecs/vd_ffmpeg.c	Sat Jan 28 11:31:24 2012	(r34609)
@@ -825,16 +825,16 @@ static mp_image_t *decode(sh_video_t *sh
            all_frametime, (double)(len*8)/sh->frametime/1000.0,
            (double)(all_len*8)/all_frametime/1000.0);
         switch(pic->pict_type){
-        case FF_I_TYPE:
+        case AV_PICTURE_TYPE_I:
             fprintf(fvstats, "type= I\n");
             break;
-        case FF_P_TYPE:
+        case AV_PICTURE_TYPE_P:
             fprintf(fvstats, "type= P\n");
             break;
-        case FF_S_TYPE:
+        case AV_PICTURE_TYPE_S:
             fprintf(fvstats, "type= S\n");
             break;
-        case FF_B_TYPE:
+        case AV_PICTURE_TYPE_B:
             fprintf(fvstats, "type= B\n");
             break;
         default:


More information about the MPlayer-cvslog mailing list