openbsd-ports/multimedia/transcode/patches/patch-libtc_tcavcodec_h
2013-01-26 12:47:44 +00:00

15 lines
423 B
Plaintext

$OpenBSD: patch-libtc_tcavcodec_h,v 1.2 2013/01/26 12:47:44 brad Exp $
Update for newer FFmpeg API.
--- libtc/tcavcodec.h.orig Fri Jan 18 02:54:38 2013
+++ libtc/tcavcodec.h Fri Jan 18 02:54:52 2013
@@ -53,7 +53,6 @@ extern pthread_mutex_t tc_libavcodec_mutex;
#define TC_INIT_LIBAVCODEC do { \
TC_LOCK_LIBAVCODEC; \
- avcodec_init(); \
avcodec_register_all(); \
TC_UNLOCK_LIBAVCODEC; \
} while (0)