diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-06-07 02:27:11 +0200 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2019-06-07 21:24:07 +0100 |
commit | ad2745e86763c72b8580429e8e345196a4be27bc (patch) | |
tree | 9a7d624264885c6a922a2620121f28d8f9d5f268 /libavcodec/cbs_av1.c | |
parent | a53f9fde45e6fd4007a85b39eab0a693900cd936 (diff) |
cbs_av1, cbs_jpeg, cbs_mpeg2, cbs_vp9: Fix undef
READ has already been undefined at this point; it is obviously intended
to undef WRITE.
Furthermore, leb128 (in cbs_av1) was undefined too often and
inconsistently.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/cbs_av1.c')
-rw-r--r-- | libavcodec/cbs_av1.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libavcodec/cbs_av1.c b/libavcodec/cbs_av1.c index eb2d03ef43..eb6b801790 100644 --- a/libavcodec/cbs_av1.c +++ b/libavcodec/cbs_av1.c @@ -648,7 +648,6 @@ static size_t cbs_av1_get_payload_bytes_left(GetBitContext *gbc) #undef xf #undef xsu #undef uvlc -#undef leb128 #undef ns #undef increment #undef subexp @@ -720,17 +719,17 @@ static size_t cbs_av1_get_payload_bytes_left(GetBitContext *gbc) #include "cbs_av1_syntax_template.c" -#undef READ +#undef WRITE #undef READWRITE #undef RWContext #undef xf #undef xsu #undef uvlc -#undef leb128 #undef ns #undef increment #undef subexp #undef delta_q +#undef leb128 #undef infer #undef byte_alignment |