diff options
-rw-r--r-- | libavcodec/bitstream_filter.c | 2 | ||||
-rw-r--r-- | libavcodec/version.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/bitstream_filter.c b/libavcodec/bitstream_filter.c index dd105316ee..e562555f01 100644 --- a/libavcodec/bitstream_filter.c +++ b/libavcodec/bitstream_filter.c @@ -53,6 +53,8 @@ AVBitStreamFilterContext *av_bitstream_filter_init(const char *name){ } void av_bitstream_filter_close(AVBitStreamFilterContext *bsfc){ + if (!bsfc) + return; if(bsfc->filter->close) bsfc->filter->close(bsfc); av_freep(&bsfc->priv_data); diff --git a/libavcodec/version.h b/libavcodec/version.h index b9a2bc4b0d..f6e2d71c9f 100644 --- a/libavcodec/version.h +++ b/libavcodec/version.h @@ -30,7 +30,7 @@ #define LIBAVCODEC_VERSION_MAJOR 55 #define LIBAVCODEC_VERSION_MINOR 18 -#define LIBAVCODEC_VERSION_MICRO 100 +#define LIBAVCODEC_VERSION_MICRO 101 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ LIBAVCODEC_VERSION_MINOR, \ |