h264: refactor NAL decode loop
authorRonald S. Bultje <rsbultje@gmail.com>
Mon, 23 Jul 2012 03:46:10 +0000 (20:46 -0700)
committerLuca Barbato <lu_zero@gentoo.org>
Mon, 23 Jul 2012 14:27:53 +0000 (16:27 +0200)
commit58db34aa1e6c4cb1d876d0abc497c5e902da857e
treee767c1f38d5b3615eb0088b30caa035b7cd2d81c
parent08cd95e8a37674401ed24e5e6f4f7402edb7fdeb
h264: refactor NAL decode loop

Write out the NAL decoding loops in full so that they are easier
to parse for a preprocessor without it having to be aware of macros
or other such things in C code.

This also makes the code more readable.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/h264.c