Hi,

On Sun, Apr 29, 2012 at 10:33 AM, Derek Buitenhuis
<[email protected]> wrote:
> From: Hendrik Leppkes <[email protected]>
>
> Signed-off-by: Michael Niedermayer <[email protected]>
> ---
>  libavcodec/mpeg12.c |    1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c
> index 40ba97b..c40649d 100644
> --- a/libavcodec/mpeg12.c
> +++ b/libavcodec/mpeg12.c
> @@ -2161,6 +2161,7 @@ int ff_mpeg1_find_frame_end(ParseContext *pc, const 
> uint8_t *buf, int buf_size,
>                 pc->frame_start_found = 4;
>             }
>             if (state == SEQ_END_CODE) {
> +                pc->frame_start_found = 0;
>                 pc->state=-1;
>                 return i+1;
>             }

OK.

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

Reply via email to