On Fri,  4 Jul 2014 11:21:55 -0400, Vittorio Giovara 
<[email protected]> wrote:
> From: MickaĆ«l Raulet <[email protected]>
> 
> Signed-off-by: Vittorio Giovara <[email protected]>
> ---
> Alternatively ff_hevc_set_new_ref() might be ok for this maybe.
> Vittorio
> 
>  libavcodec/hevc.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c
> index 76df80a..95f1c66 100644
> --- a/libavcodec/hevc.c
> +++ b/libavcodec/hevc.c
> @@ -2488,6 +2488,8 @@ static int hevc_frame_start(HEVCContext *s)
>          goto fail;
>      }
>  
> +    s->ref->frame->key_frame = IS_IRAP(s);
> +
>      ret = set_side_data(s);
>      if (ret < 0)
>          goto fail;
> -- 
> 1.8.5.2 (Apple Git-48)
> 

The commit message is now not true.
Patch itself looks fine.

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

Reply via email to