mirror of https://github.com/FFmpeg/FFmpeg.git
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>release/5.1
parent
2f299c0b8b
commit
d64e27f521
1 changed files with 5 additions and 7 deletions
Loading…
Reference in new issue