summaryrefslogtreecommitdiffstats
path: root/libhb/encavcodec.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2014-01-12 21:48:54 +0000
committerjstebbins <[email protected]>2014-01-12 21:48:54 +0000
commitd69e6b4612a40ba2a4714ac8e02a9b4fea6bb03c (patch)
treed51d1d3b5f01a2ea27b97c2eed8ddc26865ec333 /libhb/encavcodec.c
parenta42fd932a3fdc837bd7d7c8d83f7f0a335f18ce7 (diff)
bump libav, libav-v10_alpha1-90-g63debaa
Adds interlaced VC1 and HEVC support. Eliminates the need for most of our local patches. Many assorted bug fixes and improvements. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5962 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/encavcodec.c')
-rw-r--r--libhb/encavcodec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/encavcodec.c b/libhb/encavcodec.c
index 580bcd530..f75e4493e 100644
--- a/libhb/encavcodec.c
+++ b/libhb/encavcodec.c
@@ -442,7 +442,7 @@ int encavcodecWork( hb_work_object_t * w, hb_buffer_t ** buf_in,
return HB_WORK_DONE;
}
- frame = avcodec_alloc_frame();
+ frame = av_frame_alloc();
frame->data[0] = in->plane[0].data;
frame->data[1] = in->plane[1].data;
frame->data[2] = in->plane[2].data;
@@ -556,7 +556,7 @@ int encavcodecWork( hb_work_object_t * w, hb_buffer_t ** buf_in,
hb_error( "encavcodec: codec context has uninitialized codec; skipping frame" );
}
- avcodec_free_frame(&frame);
+ av_frame_free(&frame);
*buf_out = buf;