avformat/flvenc: use ff_format_shift_data for data shifting
authorMarton Balint <cus@passwd.hu>
Sat, 11 Dec 2021 18:00:06 +0000 (19:00 +0100)
committerMarton Balint <cus@passwd.hu>
Mon, 3 Jan 2022 21:54:12 +0000 (22:54 +0100)
commit10a0a8ca8339589f32e8402f20d054c8bba8c3ff
treea34038543166c29f727cc1c9a5d5a28b31124eb6
parent76e062322c3527b76b9b180ff0caa52b7af4784b
avformat/flvenc: use ff_format_shift_data for data shifting

add_keyframe_index seems to generate a corrupted index even before this change.

Signed-off-by: Marton Balint <cus@passwd.hu>
libavformat/flvenc.c