aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/opus_pvq.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-02-04 13:16:06 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-02-08 04:00:30 +0100
commitd64e27f5213001c86c8374f373d0513fe5d2e251 (patch)
tree7efa1690858d7ff3c1453f7f8576da042bc2f021 /libavcodec/opus_pvq.h
parent2f299c0b8b4ab1b549b25ab48aa2adbc9f8718ea (diff)
downloadffmpeg-d64e27f5213001c86c8374f373d0513fe5d2e251.tar.gz
avcodec/cbs_mpeg2: Remove redundant counter
Use -1 as the position in ff_cbs_insert_unit_data() which implicitly reuses frag->nb_units as the counter. Also switch to a do-while-loop, as it is more natural than a for-loop now that the counter is gone. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/opus_pvq.h')
0 files changed, 0 insertions, 0 deletions