aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/wavpackenc.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-06-03 00:07:04 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-06-20 18:58:38 +0200
commitf5d5b80f3c58eec38d97ffcc8a4d24cd2eba2de0 (patch)
tree2faff38c5ee806083412cfda844eccb7a271915f /libavcodec/wavpackenc.c
parent07ae09bdf18b117e809224fbddcca6eaf7273c4b (diff)
downloadffmpeg-f5d5b80f3c58eec38d97ffcc8a4d24cd2eba2de0.tar.gz
avcodec/mpegutils: Don't use MB_TYPE_L[01] for mpegvideo
MB_TYPE_L[01] is based upon H.264 terminology (it stands for list); yet the mpegvideo based decoders don't have lists of reference frames, they have at most one forward and one backward reference. So use terminology based upon this. This also has a second advantage: MB_TYPE_L[01] is actually an OR of two flags (which are set independently for H.264, but aren't for mpegvideo). Switching to different flags makes the flags fit into an int16_t, which will be useful in future commits. The only downside to this is a very small amount of code in error_resilience.c and mpegutils.c (the only code shared between the H.264 decoder and mpegvideo). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/wavpackenc.c')
0 files changed, 0 insertions, 0 deletions