diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-02-04 13:42:34 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-02-08 04:30:02 +0100 |
commit | f183ae787a73f263706212dde151c1edddd6fb1c (patch) | |
tree | 50cf2aa7557727156fdc763552a8f4d4c6197e33 /libavcodec/v308enc.c | |
parent | d64e27f5213001c86c8374f373d0513fe5d2e251 (diff) | |
download | ffmpeg-f183ae787a73f263706212dde151c1edddd6fb1c.tar.gz |
avcodec/cbs_jpeg: 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/v308enc.c')
0 files changed, 0 insertions, 0 deletions