diff options
author | Loren Merritt <lorenm@u.washington.edu> | 2005-03-27 10:54:16 +0000 |
---|---|---|
committer | Loren Merritt <lorenm@u.washington.edu> | 2005-03-27 10:54:16 +0000 |
commit | 171070658e3b1e1c3dd1d2fc6334cd8f6f7dcb1d (patch) | |
tree | d164d233fff8a6c6b83790ac5a5fd5491681c84c /libavcodec/h264.c | |
parent | 9625a50190cb4879b786dc2158ffe03970cdbd3c (diff) | |
download | ffmpeg-171070658e3b1e1c3dd1d2fc6334cd8f6f7dcb1d.tar.gz |
allow 16 refs with B-frames
Originally committed as revision 4090 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r-- | libavcodec/h264.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 410a93357d..567f2832c5 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -289,8 +289,8 @@ typedef struct H264Context{ * num_ref_idx_l0/1_active_minus1 + 1 */ int ref_count[2];// FIXME split for AFF - Picture *short_ref[16]; - Picture *long_ref[16]; + Picture *short_ref[32]; + Picture *long_ref[32]; Picture default_ref_list[2][32]; Picture ref_list[2][32]; //FIXME size? Picture field_ref_list[2][32]; //FIXME size? @@ -3126,7 +3126,7 @@ static int fill_default_ref_list(H264Context *h){ MpegEncContext * const s = &h->s; int i; int smallest_poc_greater_than_current = -1; - Picture sorted_short_ref[16]; + Picture sorted_short_ref[32]; if(h->slice_type==B_TYPE){ int out_i; |