avformat/assenc: Fix potential NULL + 1
Incrementing a NULL pointer is undefined behaviour,
yet this is what would happen in case trailer were NULL
before the check.
Signed-off-by:
Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Showing
Please register or sign in to comment