Mercurial > libavcodec.hg
diff h264.h @ 5174:2e038003cdfb libavcodec
Do not reuse the rbsp de-escape buffer if both
the intra and inter -nal units are escaped
patch by Andreas ªÓman: \andreas olebyn nu/
original thread:
[FFmpeg-devel] [PATCH] h264: rbsp de-escape and data partitioning..
date: 06/20/2007 09:32 AM
author | benoit |
---|---|
date | Wed, 20 Jun 2007 08:53:53 +0000 |
parents | 0244bba24b43 |
children | 2b72f9bc4f06 |
line wrap: on
line diff
--- a/h264.h Wed Jun 20 07:08:00 2007 +0000 +++ b/h264.h Wed Jun 20 08:53:53 2007 +0000 @@ -160,8 +160,8 @@ MpegEncContext s; int nal_ref_idc; int nal_unit_type; - uint8_t *rbsp_buffer; - unsigned int rbsp_buffer_size; + uint8_t *rbsp_buffer[2]; + unsigned int rbsp_buffer_size[2]; /** * Used to parse AVC variant of h264