---
 libavcodec/h264.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index dc05116..99348ff 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -2401,6 +2401,8 @@ static int decode_update_context(AVCodecContext *dst, AVCodecContext *src){
     copy_parameter_set((void**)h->pps_buffers, (void**)h1->pps_buffers, MAX_PPS_COUNT, sizeof(SPS));
     h->pps = h1->pps;
     h->last_slice_type = h1->last_slice_type;
+    h->is_avc          = h1->is_avc;
+    h->got_avcC        = h1->got_avcC;
 
     copy_fields(h, h1, poc_lsb, use_weight); //POC and picture number
     copy_fields(h, h1, ref_count, intra_gb); //reference info (some of these are immediately overwritten)
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to