mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 19:21:06 +00:00
h26xbitwriter: false have_space if aligning fails on aud
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7655>
This commit is contained in:
parent
360787ef27
commit
45b01f9456
2 changed files with 2 additions and 0 deletions
|
@ -1535,6 +1535,7 @@ gst_h264_bit_writer_aud (guint8 primary_pic_type, gboolean start_code,
|
|||
/* Add trailings. */
|
||||
WRITE_BITS (&bw, 1, 1);
|
||||
if (!gst_bit_writer_align_bytes (&bw, 0)) {
|
||||
have_space = FALSE;
|
||||
goto error;
|
||||
}
|
||||
|
||||
|
|
|
@ -2199,6 +2199,7 @@ gst_h265_bit_writer_aud (guint8 pic_type, gboolean start_code,
|
|||
/* Add trailings. */
|
||||
WRITE_BITS (&bw, 1, 1);
|
||||
if (!gst_bit_writer_align_bytes (&bw, 0)) {
|
||||
have_space = FALSE;
|
||||
goto error;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue