]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/h264.c
Merge commit 'cf7860db608df7c76471d8b61f07abbd5aad8dd5'
[ffmpeg] / libavcodec / h264.c
index 9110746d3fbaf913c7f91ed76ab32c7e083ab9ff..4cf7726b404054402e755dbe2047214713239f7a 100644 (file)
@@ -4755,7 +4755,7 @@ static int decode_nal_units(H264Context *h, const uint8_t *buf, int buf_size,
                 h->workaround_bugs |= FF_BUG_TRUNCATED;
 
             if (!(h->workaround_bugs & FF_BUG_TRUNCATED))
-                while(dst_length > 0 && ptr[dst_length - 1] == 0)
+                while (dst_length > 0 && ptr[dst_length - 1] == 0)
                     dst_length--;
             bit_length = !dst_length ? 0
                                      : (8 * dst_length -