On Wed, Feb 29, 2012 at 11:20:24AM -0800, Ronald S. Bultje wrote:
> Hi,
> 
> On Tue, Feb 28, 2012 at 9:59 PM, Kostya Shishkov
> <[email protected]> wrote:
> > On Tue, Feb 28, 2012 at 07:00:54PM -0800, Ronald S. Bultje wrote:
> >> From: "Ronald S. Bultje" <[email protected]>
> >>
> >> Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
> >> CC: [email protected]
> >> ---
> >>  libavcodec/vmnc.c |    1 +
> >>  1 files changed, 1 insertions(+), 0 deletions(-)
> >>
> >> diff --git a/libavcodec/vmnc.c b/libavcodec/vmnc.c
> >> index 8cc78fa..b1c4cbd 100644
> >> --- a/libavcodec/vmnc.c
> >> +++ b/libavcodec/vmnc.c
> >> @@ -483,6 +483,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
> >>          break;
> >>      default:
> >>          av_log(avctx, AV_LOG_ERROR, "Unsupported bitdepth %i\n", c->bpp);
> >> +        return AVERROR_INVALIDDATA;
> >>      }
> >>
> >>      return 0;
> >> --
> >
> > AVERROR_PATCHWELCOME?
> 
> I think it means "corrupt data", not "valid bitdepth but we don't support it".

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

Reply via email to