h264: Check that the codec isn't null before accessing it
This fixes crashes introduced by 2e8f3cbc, the codec can be null when called from parsers. Signed-off-by: Martin Storsjö <martin@martin.st>
Showing
Please
register
or
sign in
to comment