]> git.videolan.org Git - x264.git/commitdiff
Forgot rbsp_trailing_bits in AUD NAL
authorMåns Rullgård <mru@mru.ath.cx>
Thu, 7 Apr 2005 23:26:51 +0000 (23:26 +0000)
committerMåns Rullgård <mru@mru.ath.cx>
Thu, 7 Apr 2005 23:26:51 +0000 (23:26 +0000)
git-svn-id: svn://svn.videolan.org/x264/trunk@189 df754926-b1dd-0310-bc7b-ec298dee348c

encoder/encoder.c

index 1ed7c18556b414060cf7903fcf4ac41cd5a234d1..a508239b081b311185d2b10ec0a97f9b24eab337 100644 (file)
@@ -1165,6 +1165,7 @@ do_encode:
 
         x264_nal_start(h, NAL_AUD, NAL_PRIORITY_DISPOSABLE);
         bs_write(&h->out.bs, 3, pic_type);
+        bs_rbsp_trailing(&h->out.bs);
         x264_nal_end(h);
     }