h264: rewrite has_b_frame calculation code,
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 16 Nov 2011 22:58:06 +0000 (23:58 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 16 Nov 2011 23:01:40 +0000 (00:01 +0100)
commitbfca35114ae174bbabd88526379d95d4022a98b1
tree1153c0d247d2c379e77fabbb075cb3e5e272061e
parent18b7f40007038f51ed3d9c39dcfc52e7a1655ceb
h264: rewrite has_b_frame calculation code,
the previous implementation was too buggy.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/h264.c