h264: Fix assignments in if()
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 13 Jan 2013 22:44:01 +0000 (23:44 +0100)
committerMartin Storsjö <martin@martin.st>
Mon, 14 Jan 2013 11:12:38 +0000 (13:12 +0200)
commit59d5680310084398dc6eb8fa62d56a7d1c9b85e0
treec936962ee0a476fc14563c4e540b7eb1fe6dd2cf
parent60a42ef44cc02a8b6a0f0b92ab92c6f9a4ddc838
h264: Fix assignments in if()

Fixes null pointer dereference later, since if this function failed,
a positive return value was returned to the caller.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/h264.c