On 02/10/2017 02:33 AM, Anton Khirnov wrote:
> Quoting John Stebbins (2017-02-08 22:52:28)
>> ---
>>  libavcodec/h264dec.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c
>> index 5137039..6d7aa7b 100644
>> --- a/libavcodec/h264dec.c
>> +++ b/libavcodec/h264dec.c
>> @@ -452,7 +452,6 @@ void ff_h264_flush_change(H264Context *h)
>>      if (h->cur_pic_ptr)
>>          h->cur_pic_ptr->reference = 0;
>>      h->first_field = 0;
>> -    ff_h264_sei_uninit(&h->sei);
>>      h->recovery_frame = -1;
>>      h->frame_recovered = 0;
>>  }
>> @@ -466,6 +465,7 @@ static void flush_dpb(AVCodecContext *avctx)
>>      memset(h->delayed_pic, 0, sizeof(h->delayed_pic));
>>  
>>      ff_h264_flush_change(h);
>> +    ff_h264_sei_uninit(&h->sei);
>>  
>>      for (i = 0; i < H264_MAX_PICTURE_COUNT; i++)
>>          ff_h264_unref_picture(h, &h->DPB[i]);
>> -- 
>> 2.9.3
> Looks good to me, but I'd appreciate Janne's opinion as well.
>

Still waiting on feedback from Janne?

-- 
John      GnuPG fingerprint: D0EC B3DB C372 D1F1 0B01  83F0 49F1 D7B2 60D4 D0F7


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to