Files
FFmpeg/libavcodec
Andreas Rheinhardt d64e27f521 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>
2022-02-08 04:00:30 +01:00
..
2021-07-22 14:47:57 +02:00
2021-07-08 20:10:01 +02:00
2022-02-07 00:31:23 +01:00
2022-02-07 00:31:23 +01:00
2021-10-03 11:42:15 +02:00
2021-07-22 14:47:57 +02:00
2021-09-05 22:22:05 +02:00
2022-02-07 00:31:23 +01:00
2021-10-08 20:37:36 +11:00
2021-10-08 20:37:36 +11:00
2022-01-04 13:16:49 +01:00
2022-01-04 13:16:49 +01:00
2021-07-22 14:47:57 +02:00
2022-02-07 00:31:23 +01:00
2021-07-22 14:47:57 +02:00
2021-08-05 19:46:33 +02:00
2021-07-08 20:10:17 +02:00
2022-01-13 08:28:56 +01:00
2022-01-26 15:30:28 +01:00
2021-10-09 11:42:16 +02:00
2022-01-04 12:08:18 +01:00
2022-01-04 12:08:18 +01:00
2021-12-03 16:09:14 +01:00
2021-12-03 16:09:14 +01:00
2022-02-07 00:31:23 +01:00
2022-02-07 00:31:23 +01:00
2021-07-22 14:47:57 +02:00
2021-10-02 18:49:40 +02:00
2021-07-08 20:10:17 +02:00
2022-02-07 00:31:23 +01:00
2021-07-22 15:02:30 +02:00
2021-07-22 14:47:57 +02:00
2021-10-10 17:44:41 +02:00
2022-01-26 15:30:28 +01:00
2021-07-22 14:47:57 +02:00
2021-07-22 14:47:57 +02:00
2022-01-13 21:00:26 +01:00
2021-08-26 09:20:56 +02:00
2021-09-12 22:23:35 +02:00