diff options
author | Rodeo <[email protected]> | 2014-01-07 11:42:39 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2014-01-07 11:42:39 +0000 |
commit | 7f46a78ce98fe1e1bf69cc431c3303eedc1f7f66 (patch) | |
tree | 5f2912aa05d9600d3655b9ed83a695e43725f659 /libhb/encavcodec.c | |
parent | 5bf5ef4f102648396941e4a1d1ce4af36638d16b (diff) |
Revert previous borked commit. Sorry!
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5958 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/encavcodec.c')
-rw-r--r-- | libhb/encavcodec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/encavcodec.c b/libhb/encavcodec.c index f75e4493e..580bcd530 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 = av_frame_alloc(); + frame = avcodec_alloc_frame(); 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" ); } - av_frame_free(&frame); + avcodec_free_frame(&frame); *buf_out = buf; |