# HG changeset patch # User reimar # Date 1327746684 0 # Node ID 70653bd01fb4dc06a9dbe824e25e6f19a09dec2d # Parent 7203c1affdc9b7916beab5fc30d0d1801d00cfcc Switch to using AV_PICTURE_TYPE. diff -r 7203c1affdc9 -r 70653bd01fb4 libmpcodecs/vd_ffmpeg.c --- 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: