Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-09-04 02:23:00 +0300
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-09-07 01:07:45 +0300
commit8c7583b7528b11e4e86bc66b27a8a65c80cf0a93 (patch)
tree516033ff9f081335e16b7d913619fa4bef427d10 /libavcodec/dv_tablegen.h
parent4a59eba227135f90a59a412a0175c783dc0be6d5 (diff)
avcodec/dvdata: Order code table by codes
Right now, it is nearly ordered by "left codes in the tree first"; the only exception is the escape value which has been put at the end. This commit moves it to the place it should have according to the above order. This is in preparation for further commits. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/dv_tablegen.h')
-rw-r--r--libavcodec/dv_tablegen.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dv_tablegen.h b/libavcodec/dv_tablegen.h
index 941b5572be..0dcfffc140 100644
--- a/libavcodec/dv_tablegen.h
+++ b/libavcodec/dv_tablegen.h
@@ -51,7 +51,7 @@ static struct dv_vlc_pair dv_vlc_map[DV_VLC_MAP_RUN_SIZE][DV_VLC_MAP_LEV_SIZE];
static av_cold void dv_vlc_map_tableinit(void)
{
int i, j;
- for (i = 0; i < NB_DV_VLC - 1; i++) {
+ for (int i = 0; i < NB_DV_VLC; i++) {
if (ff_dv_vlc_run[i] >= DV_VLC_MAP_RUN_SIZE)
continue;
#if CONFIG_SMALL