Commit 5e997688 authored by Michael Niedermayer's avatar Michael Niedermayer Committed by Martin Storsjö
Browse files

h264: Remove an assert on current_picture_ptr being null



It is possible in various error paths as well as gap handling
that this has already been allocated. It is not clear why that
would be a problem with the current code, thus disable the
assert to avoid a common assert failure when asserts are enabled.
Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
parent 69804535
......@@ -2773,7 +2773,6 @@ static int decode_slice_header(H264Context *h, H264Context *h0)
}
} else {
/* Frame or first field in a potentially complementary pair */
assert(!s0->current_picture_ptr);
s0->first_field = FIELD_PICTURE;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment