From 80b656407ad80ac5ef4ff9db3bccf975f5ac18af Mon Sep 17 00:00:00 2001 From: niels Date: Sat, 7 Nov 2015 21:39:02 +0100 Subject: [PATCH] issue #34 --- veejay-current/veejay-server/libel/avhelper.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/veejay-current/veejay-server/libel/avhelper.c b/veejay-current/veejay-server/libel/avhelper.c index 94001518..fa482a4d 100644 --- a/veejay-current/veejay-server/libel/avhelper.c +++ b/veejay-current/veejay-server/libel/avhelper.c @@ -157,17 +157,11 @@ void avhelper_free_context(AVCodecContext **avctx) { #if (LIBAVCODEC_VERSION_MAJOR > 55 && LIBAVCODEC_VERSION_MINOR > 40) || (LIBAVCODEC_VERSION_MAJOR == 56 && LIBAVCODEC_VERSION_MINOR > 0) avcodec_free_context( avctx ); -#else -//@ libav -#if (LIBAVCODEC_VERSION_MAJOR == 56 && LIBAVCODEC_VERSION_MICRO == 0) -// if( avctx ) -// av_free( avctx ); #else if( avctx ) free(avctx); avctx = NULL; #endif -#endif } static void avhelper_close_input_file( AVFormatContext *s ) {