diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2013-07-29 19:52:40 +0400 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2013-07-29 19:52:40 +0400 |
commit | f2118d44c9f18b3245bec2415c563d94201dcf5a (patch) | |
tree | a0310fe4c7f7e8440125a86c392fb5b7676c0765 /libavcodec/vaapi.c | |
parent | f80ccf074a3b20c5988c6c25b946fa1bc180b0cf (diff) |
Fix compilation with --disable-everything --enable-shared.
Compilation with --disable-everything --enable-shared failed
on systems with VAAPI support with the following undefined
symbol in libavcodec/vaapi.o:
libavcodec/libavcodec.so: undefined reference to `ff_mpeg_draw_horiz_band'
Diffstat (limited to 'libavcodec/vaapi.c')
-rw-r--r-- | libavcodec/vaapi.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/libavcodec/vaapi.c b/libavcodec/vaapi.c index 94959bf5ed..db4d29dbbc 100644 --- a/libavcodec/vaapi.c +++ b/libavcodec/vaapi.c @@ -197,26 +197,4 @@ void ff_vaapi_common_end_frame(AVCodecContext *avctx) vactx->slice_params_alloc = 0; } -int ff_vaapi_mpeg_end_frame(AVCodecContext *avctx) -{ - struct vaapi_context * const vactx = avctx->hwaccel_context; - MpegEncContext *s = avctx->priv_data; - int ret; - - ret = ff_vaapi_commit_slices(vactx); - if (ret < 0) - goto finish; - - ret = ff_vaapi_render_picture(vactx, - ff_vaapi_get_surface_id(s->current_picture_ptr)); - if (ret < 0) - goto finish; - - ff_mpeg_draw_horiz_band(s, 0, s->avctx->height); - -finish: - ff_vaapi_common_end_frame(avctx); - return ret; -} - /* @} */ |