mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-20 07:35:25 +08:00
avcodec/cbs_h2645: use the fixed() macro for forbidden_zero_bit
This follows the spec definition, and removes a field from the relevant structs. Reviewed-by: Mark Thompson <sw@jkqxz.net> Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -33,7 +33,7 @@ static int FUNC(nal_unit_header)(CodedBitstreamContext *ctx, RWContext *rw,
|
||||
{
|
||||
int err;
|
||||
|
||||
u(1, forbidden_zero_bit, 0, 0);
|
||||
fixed(1, forbidden_zero_bit, 0);
|
||||
ub(2, nal_ref_idc);
|
||||
ub(5, nal_unit_type);
|
||||
|
||||
|
Reference in New Issue
Block a user