1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2026-05-04 21:08:03 +02:00
Files
FFmpeg/libavcodec
Andreas Rheinhardt 36fcdc3fbe av1/h264_metadata, filter_units: Count down when deleting units
When testing whether a particular unit should be kept or discarded, it
is best to start at the very last unit of a fragment and count down,
because that way a unit that will eventually be deleted won't be
memmoved during earlier deletions; and frag/au->nb_units need only be
evaluated once in this case and the counter is automatically correct
when a unit got deleted.

It also works for double loops, i.e. when looping over all SEI messages
in all SEI units of an access unit.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2019-07-07 22:17:07 +01:00
..
2019-06-26 21:29:35 +02:00
2019-06-26 21:25:10 +02:00
2019-07-07 11:33:19 +02:00
2019-06-30 14:27:04 +02:00
2019-06-29 19:22:19 +02:00
2019-07-01 13:24:57 +08:00
2019-06-25 13:30:09 +02:00
2019-06-29 19:22:19 +02:00
2019-06-26 21:26:04 +02:00