diff options
author | James Almer <jamrial@gmail.com> | 2019-04-16 23:00:49 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2019-04-28 20:29:40 -0300 |
commit | 45048ece81d395431d5604cf30596aaa62692da3 (patch) | |
tree | 3fff8ae7f0af5535951d8dec8a65ac01cf06ab82 /libavcodec/cbs_h264_syntax_template.c | |
parent | 16c50abb5016fd260c3dcea21aeb335337fe5362 (diff) | |
download | ffmpeg-45048ece81d395431d5604cf30596aaa62692da3.tar.gz |
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>
Diffstat (limited to 'libavcodec/cbs_h264_syntax_template.c')
-rw-r--r-- | libavcodec/cbs_h264_syntax_template.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cbs_h264_syntax_template.c b/libavcodec/cbs_h264_syntax_template.c index cc9bd07590..95fc6d7194 100644 --- a/libavcodec/cbs_h264_syntax_template.c +++ b/libavcodec/cbs_h264_syntax_template.c @@ -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); |