And that's it for SoC period commits.
---
 libavcodec/h264.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index b137835..436c029 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -2414,9 +2414,9 @@ static int decode_update_context(AVCodecContext *dst, AVCodecContext *src){
     //reference lists
     copy_fields(h, h1, ref_count, intra_gb);
 
-    copy_picture_range(h->short_ref,   h1->short_ref,   h->short_ref_count, s, s1);
-    copy_picture_range(h->long_ref,    h1->long_ref,    h->long_ref_count,  s, s1);
-    copy_picture_range(h->delayed_pic, h1->delayed_pic, MAX_DELAYED_PIC_COUNT, s, s1);
+    copy_picture_range(h->short_ref,   h1->short_ref,   32, s, s1);
+    copy_picture_range(h->long_ref,    h1->long_ref,    32,  s, s1);
+    copy_picture_range(h->delayed_pic, h1->delayed_pic, MAX_DELAYED_PIC_COUNT+2, s, s1);
 
     h->last_slice_type = h1->last_slice_type;
 
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to