On Wed, Dec 09, 2015 at 12:56:02AM +0000, Kieran Kunhya wrote:
> ---
>  libavcodec/diracdec.c | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/libavcodec/diracdec.c b/libavcodec/diracdec.c
> index 6a53f38..0542ad7 100644
> --- a/libavcodec/diracdec.c
> +++ b/libavcodec/diracdec.c
> @@ -2043,6 +2043,11 @@ static int dirac_decode_data_unit(AVCodecContext 
> *avctx, const uint8_t *buf, int
>          if (s->version.minor == 2 && parse_code == 0x88)
>              s->ld_picture = 1;
>  
> +        if (s->low_delay && !(s->ld_picture || s->hq_picture) ) {
> +            av_log(avctx, AV_LOG_ERROR, "Invalid low delay flag\n");
> +            return AVERROR_INVALIDDATA;
> +        }

this should be merged with the patch needing this bugfix or commited
before it

LGTM

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When the tyrant has disposed of foreign enemies by conquest or treaty, and
there is nothing more to fear from them, then he is always stirring up
some war or other, in order that the people may require a leader. -- Plato

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to