On Thu, Jul 24, 2014 at 05:03:27PM -0700, Diego Biurrun wrote:
> ---
>  libavcodec/svq1dec.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavcodec/svq1dec.c b/libavcodec/svq1dec.c
> index 000487b..d13fc02 100644
> --- a/libavcodec/svq1dec.c
> +++ b/libavcodec/svq1dec.c
> @@ -607,7 +607,7 @@ static int svq1_decode_frame_header(AVCodecContext 
> *avctx, AVFrame *frame)
>  static int svq1_decode_frame(AVCodecContext *avctx, void *data,
>                               int *got_frame, AVPacket *avpkt)
>  {
> -    const uint8_t *buf = avpkt->data;
> +    uint8_t *buf       = avpkt->data;
>      int buf_size       = avpkt->size;
>      SVQ1Context     *s = avctx->priv_data;
>      AVFrame       *cur = data;
> -- 

It's there for a reason too - because you have a WTFy block below that
actually modifies input data.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to