On Mon, May 25, 2015 at 9:32 PM, Luca Barbato <[email protected]> wrote:
> Bug-Id: CVE-2015-3417
> CC: [email protected]
> ---
>  libavcodec/h264_slice.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c
> index a250237..7d94fb3 100644
> --- a/libavcodec/h264_slice.c
> +++ b/libavcodec/h264_slice.c
> @@ -1168,6 +1168,7 @@ int ff_h264_decode_slice_header(H264Context *h, 
> H264SliceContext *sl)
>      }
>
>      if (h->context_initialized && needs_reinit) {
> +        h->context_initialized = 0;
>          if (sl != h->slice_ctx) {
>              av_log(h->avctx, AV_LOG_ERROR,
>                     "changing width %d -> %d / height %d -> %d on "

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

Reply via email to