diff --git a/libavcodec/bmp_parser.c b/libavcodec/bmp_parser.c index 06ed367b38..eae8ae0a7f 100644 --- a/libavcodec/bmp_parser.c +++ b/libavcodec/bmp_parser.c @@ -25,6 +25,8 @@ */ #include "libavutil/bswap.h" +#include "libavutil/common.h" + #include "parser.h" typedef struct BMPParseContext { @@ -42,8 +44,6 @@ static int bmp_parse(AVCodecParserContext *s, AVCodecContext *avctx, int next = END_NOT_FOUND; int i = 0; - s->pict_type = AV_PICTURE_TYPE_NONE; - *poutbuf_size = 0; if (buf_size == 0) return 0; diff --git a/libavcodec/version.h b/libavcodec/version.h index 968ff74b8f..6c09303ea6 100644 --- a/libavcodec/version.h +++ b/libavcodec/version.h @@ -30,7 +30,7 @@ #define LIBAVCODEC_VERSION_MAJOR 55 #define LIBAVCODEC_VERSION_MINOR 55 -#define LIBAVCODEC_VERSION_MICRO 103 +#define LIBAVCODEC_VERSION_MICRO 104 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ LIBAVCODEC_VERSION_MINOR, \