mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
Indention, it seems i have forgotton to commit this.
Originally committed as revision 11702 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
89ef2c29a0
commit
7526ade238
@ -2034,10 +2034,10 @@ static int alloc_tables(H264Context *h){
|
||||
CHECKED_ALLOCZ(h->slice_table_base , (big_mb_num+s->mb_stride) * sizeof(uint8_t))
|
||||
CHECKED_ALLOCZ(h->cbp_table, big_mb_num * sizeof(uint16_t))
|
||||
|
||||
CHECKED_ALLOCZ(h->chroma_pred_mode_table, big_mb_num * sizeof(uint8_t))
|
||||
CHECKED_ALLOCZ(h->mvd_table[0], 32*big_mb_num * sizeof(uint16_t));
|
||||
CHECKED_ALLOCZ(h->mvd_table[1], 32*big_mb_num * sizeof(uint16_t));
|
||||
CHECKED_ALLOCZ(h->direct_table, 32*big_mb_num * sizeof(uint8_t));
|
||||
CHECKED_ALLOCZ(h->chroma_pred_mode_table, big_mb_num * sizeof(uint8_t))
|
||||
CHECKED_ALLOCZ(h->mvd_table[0], 32*big_mb_num * sizeof(uint16_t));
|
||||
CHECKED_ALLOCZ(h->mvd_table[1], 32*big_mb_num * sizeof(uint16_t));
|
||||
CHECKED_ALLOCZ(h->direct_table, 32*big_mb_num * sizeof(uint8_t));
|
||||
|
||||
memset(h->slice_table_base, -1, (big_mb_num+s->mb_stride) * sizeof(uint8_t));
|
||||
h->slice_table= h->slice_table_base + s->mb_stride*2 + 1;
|
||||
|
Loading…
Reference in New Issue
Block a user