diff options
author | wm4 <wm4@nowhere> | 2013-03-09 20:50:06 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-03-13 23:51:30 +0100 |
commit | 514d8a7c9dfde2acc89ee4d19dd9db6b9db5b882 (patch) | |
tree | 5a4eeebc797a16866a7dc4f8b846854c9a33f0b8 /Makefile | |
parent | 71b09be04056d9a505f32c71375ebc327d842ae4 (diff) | |
download | mpv-514d8a7c9dfde2acc89ee4d19dd9db6b9db5b882.tar.bz2 mpv-514d8a7c9dfde2acc89ee4d19dd9db6b9db5b882.tar.xz |
video: make use of libavcodec refcounting
Now lavc_dr1.c is not used anymore if libavcodec is recent enough.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -115,6 +115,9 @@ SOURCES-$(VDPAU) += video/out/vo_vdpau.c SOURCES-$(X11) += video/out/vo_x11.c video/out/x11_common.c SOURCES-$(XV) += video/out/vo_xv.c +ifeq ($(HAVE_AVUTIL_REFCOUNTING),no) + SOURCES-yes += video/decode/lavc_dr1.c +endif SOURCES = talloc.c \ audio/format.c \ @@ -230,7 +233,6 @@ SOURCES = talloc.c \ video/mp_image_pool.c \ video/sws_utils.c \ video/decode/dec_video.c \ - video/decode/lavc_dr1.c \ video/decode/vd.c \ video/decode/vd_lavc.c \ video/filter/vf.c \ |