summaryrefslogtreecommitdiffstats
path: root/libhb/encavcodec.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2011-06-07 22:35:54 +0000
committerjstebbins <[email protected]>2011-06-07 22:35:54 +0000
commit1e92c150aac42a8cd6e8c12b10494d9a1f42796e (patch)
tree177523c63a4023a4393805358624af72e4e91bbb /libhb/encavcodec.c
parentd40287132815adc74a0d1444a1e7b76e89879f69 (diff)
fix up usage of deprecated libav symbols and clean up patch fuzz
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4030 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/encavcodec.c')
-rw-r--r--libhb/encavcodec.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libhb/encavcodec.c b/libhb/encavcodec.c
index 0a7d7f62b..da46db8c5 100644
--- a/libhb/encavcodec.c
+++ b/libhb/encavcodec.c
@@ -489,29 +489,29 @@ int encavcodecWork( hb_work_object_t * w, hb_buffer_t ** buf_in,
buf->flags &= ~HB_FRAME_REF;
switch ( pv->context->coded_frame->pict_type )
{
- case FF_P_TYPE:
+ case AV_PICTURE_TYPE_P:
{
buf->frametype = HB_FRAME_P;
} break;
- case FF_B_TYPE:
+ case AV_PICTURE_TYPE_B:
{
buf->frametype = HB_FRAME_B;
} break;
- case FF_S_TYPE:
+ case AV_PICTURE_TYPE_S:
{
buf->frametype = HB_FRAME_P;
} break;
- case FF_SP_TYPE:
+ case AV_PICTURE_TYPE_SP:
{
buf->frametype = HB_FRAME_P;
} break;
- case FF_BI_TYPE:
- case FF_SI_TYPE:
- case FF_I_TYPE:
+ case AV_PICTURE_TYPE_BI:
+ case AV_PICTURE_TYPE_SI:
+ case AV_PICTURE_TYPE_I:
{
buf->flags |= HB_FRAME_REF;
if ( pv->context->coded_frame->key_frame )