You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/mpegvideo_enc: Use av_assert1() instead of assert() in merge_context_after_encode()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
@@ -3592,8 +3592,8 @@ static void merge_context_after_encode(MpegEncContext *dst, MpegEncContext *src)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
assert(put_bits_count(&src->pb) % 8 ==0);
|
av_assert1(put_bits_count(&src->pb) % 8 ==0);
|
||||||
assert(put_bits_count(&dst->pb) % 8 ==0);
|
av_assert1(put_bits_count(&dst->pb) % 8 ==0);
|
||||||
avpriv_copy_bits(&dst->pb, src->pb.buf, put_bits_count(&src->pb));
|
avpriv_copy_bits(&dst->pb, src->pb.buf, put_bits_count(&src->pb));
|
||||||
flush_put_bits(&dst->pb);
|
flush_put_bits(&dst->pb);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user