h264: straighten dimensions check ff_h264_decode_seq_parameter_set
authorBenoit Fouet <benoit.fouet@free.fr>
Mon, 27 Jun 2016 11:31:21 +0000 (13:31 +0200)
committerBenoit Fouet <benoit.fouet@free.fr>
Thu, 30 Jun 2016 07:24:39 +0000 (09:24 +0200)
commit4cc1ce4a91788a71670ea43fa0026b5a969e9e9e
tree9f4f4776c11e4f014f91f7189a02ed0ea350778c
parent3e8cda1eb1a8b4058a6bf40d3a224784a0153e3d
h264: straighten dimensions check ff_h264_decode_seq_parameter_set

The MBS only flag was not taken into account when checking macroblock dimensions.
Also removes the unneeded check in init_dimensions for slices.
libavcodec/h264_ps.c
libavcodec/h264_slice.c