Commit 6f298b9d authored by Loren Merritt's avatar Loren Merritt

bs_align_1() didn't actually write all ones. (so encoded streams with cabac...

bs_align_1() didn't actually write all ones. (so encoded streams with cabac were technically invalid, though no decoder cares.)
Patch by Tuukka Toivonen.


git-svn-id: svn://svn.videolan.org/x264/trunk@119 df754926-b1dd-0310-bc7b-ec298dee348c
parent ca4ae521
......@@ -285,7 +285,7 @@ static inline void bs_align_1( bs_t *s )
{
if( s->i_left != 8 )
{
bs_write( s, s->i_left, 1 );
bs_write( s, s->i_left, ~0 );
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment