mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-15 20:30:00 +01:00
issue #34
This commit is contained in:
@@ -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 ) {
|
||||
|
||||
Reference in New Issue
Block a user