From 49cc88bba705ff9e4ef0866bcda0eb7a51f1d05e Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Tue, 15 Jun 2021 08:52:06 +0200 Subject: [PATCH] Disable assertion for pitches in libavcodec Can still be used for probing --- src/video_decompress/libavcodec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video_decompress/libavcodec.c b/src/video_decompress/libavcodec.c index 260e2fd0c..ef89dbe69 100644 --- a/src/video_decompress/libavcodec.c +++ b/src/video_decompress/libavcodec.c @@ -738,7 +738,7 @@ static decompress_status libavcodec_decompress(void *state, unsigned char *dst, unsigned int src_len, int frame_seq, struct video_frame_callbacks *callbacks, codec_t *internal_codec, const int *pitches) { - assert(pitches == NULL); + //assert(pitches == NULL); // TODO: the libavcodec may still be used for probing struct state_libavcodec_decompress *s = (struct state_libavcodec_decompress *) state; int got_frame = 0; decompress_status res = DECODER_NO_FRAME;