diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-06-05 11:32:47 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-06-09 10:59:33 +0200 |
commit | 52fb49a8a3171fdb4a1913e5ec0307a14f60a1e5 (patch) | |
tree | 36f9c197d653889d31ca2ace197a97e2083a01f6 | |
parent | dd8fb0aaaeb91f393adeb82f885d9ccf698df845 (diff) | |
download | ffmpeg-52fb49a8a3171fdb4a1913e5ec0307a14f60a1e5.tar.gz |
avformat/vvc: Use put_bytes_output()
The PutBitContext has just been flushed.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r-- | libavformat/vvc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/vvc.c b/libavformat/vvc.c index ac3209a01b..d8195f0fd2 100644 --- a/libavformat/vvc.c +++ b/libavformat/vvc.c @@ -761,7 +761,7 @@ static int vvcc_write(AVIOContext *pb, VVCDecoderConfigurationRecord *vvcc) ff_copy_bits(&pbc, vvcc->ptl.general_constraint_info, (vvcc->ptl.num_bytes_constraint_info - 1) * 8); put_bits(&pbc, 6, vvcc->ptl.general_constraint_info[vvcc->ptl.num_bytes_constraint_info - 1] & 0x3f); flush_put_bits(&pbc); - avio_write(pb, buf, put_bytes_count(&pbc, 1)); + avio_write(pb, buf, put_bytes_output(&pbc)); if (vvcc->num_sublayers > 1) { uint8_t ptl_sublayer_level_present_flags = 0; |