Disable assertion for pitches in libavcodec

Can still be used for probing
This commit is contained in:
Martin Pulec
2021-06-15 08:52:06 +02:00
parent a6680ac32d
commit 49cc88bba7

View File

@@ -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;