Hi,

On Wed, Dec 5, 2012 at 11:10 AM, Janne Grunau <janne-li...@jannau.net> wrote:
> Fixes errors in slice based multithreading introduced in 0b300daad2f5.
>
> CC: libav-sta...@libav.org
> ---
>  libavcodec/h264.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavcodec/h264.c b/libavcodec/h264.c
> index b9c46ea..317ee95 100644
> --- a/libavcodec/h264.c
> +++ b/libavcodec/h264.c
> @@ -2782,7 +2782,7 @@ static int decode_slice_header(H264Context *h, 
> H264Context *h0)
>              s->picture_structure = last_pic_structure;
>              s->dropable          = last_pic_dropable;
>              return AVERROR_INVALIDDATA;
> -        } else if (!s->current_picture_ptr) {
> +        } else if (!s0->current_picture_ptr) {
>              av_log(s->avctx, AV_LOG_ERROR,
>                     "unset current_picture_ptr on %d. slice\n",
>                     h0->current_slice + 1);

OK.

Ronald
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to