h264: move the scratch buffers into the per-slice context
Also change the method for allocating them. Instead of two possible alloc calls from different places, just ensure they are allocated at the start of each slice. This should be simpler and less bug-prone than the previous method.
Showing
Please
register
or
sign in
to comment