changeset 2582:3c27a074de7a libavcodec

allow 16 refs with B-frames
author lorenm
date Sun, 27 Mar 2005 10:54:16 +0000
parents ae72796e722f
children 61a08e2b9822
files h264.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/h264.c	Sun Mar 27 00:44:11 2005 +0000
+++ b/h264.c	Sun Mar 27 10:54:16 2005 +0000
@@ -289,8 +289,8 @@
      * 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 @@
     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;