diff options
author | wm4 <wm4@nowhere> | 2014-03-16 09:21:21 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-03-16 13:19:19 +0100 |
commit | 3ec7f528c4af6efa9f5b5951a25ea4c6311741b5 (patch) | |
tree | a4b080461b702d5309924a981e8cf9294e494a5e /video/mp_image.c | |
parent | 75b185dfc50757402bbaf2c8b8fa8aa9602e92e8 (diff) | |
download | mpv-3ec7f528c4af6efa9f5b5951a25ea4c6311741b5.tar.bz2 mpv-3ec7f528c4af6efa9f5b5951a25ea4c6311741b5.tar.xz |
vd_lavc: remove compatibility crap
All this code was needed for compatibility with very old libavcodec
versions only (such as Libav 9).
Includes some now-possible simplifications too.
Diffstat (limited to 'video/mp_image.c')
-rw-r--r-- | video/mp_image.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/video/mp_image.c b/video/mp_image.c index 44ee0cfedb..8b79489f31 100644 --- a/video/mp_image.c +++ b/video/mp_image.c @@ -600,8 +600,6 @@ void mp_image_copy_fields_to_av_frame(struct AVFrame *dst, #endif } -#if HAVE_AVUTIL_REFCOUNTING - static void frame_free(void *p) { AVFrame *frame = p; @@ -659,5 +657,3 @@ struct AVFrame *mp_image_to_av_frame_and_unref(struct mp_image *img) talloc_free(new_ref); return frame; } - -#endif /* HAVE_AVUTIL_REFCOUNTING */ |