changeset 34521:70653bd01fb4

Switch to using AV_PICTURE_TYPE.
author reimar
date Sat, 28 Jan 2012 10:31:24 +0000
parents 7203c1affdc9
children d40c46fad187
files libmpcodecs/vd_ffmpeg.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c	Sat Jan 28 10:28:45 2012 +0000
+++ b/libmpcodecs/vd_ffmpeg.c	Sat Jan 28 10:31:24 2012 +0000
@@ -825,16 +825,16 @@
            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: