mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-30 23:10:32 +00:00
h264: disable assert on current_picture_ptr being null.
It is possible in various error pathes as well as gap handling that this has already been allocated. Its not clear why that would be a problem with the current code, thus disable the assert to avoid common assert failure when asserts are enabled. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
7ae473e8a0
commit
cde4741177
@ -2836,7 +2836,7 @@ static int decode_slice_header(H264Context *h, H264Context *h0)
|
||||
}
|
||||
} else {
|
||||
/* Frame or first field in a potentially complementary pair */
|
||||
assert(!s0->current_picture_ptr);
|
||||
// assert(!s0->current_picture_ptr);
|
||||
s0->first_field = FIELD_PICTURE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user