On Thu, Jul 24, 2014 at 05:03:29PM -0700, Diego Biurrun wrote:
> libavcodec/tscc.c:85:24: warning: assignment discards ‘const’ qualifier from
> pointer target type
> ---
> libavcodec/tscc.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/libavcodec/tscc.c b/libavcodec/tscc.c
> index c26853e..fdc5cd6 100644
> --- a/libavcodec/tscc.c
> +++ b/libavcodec/tscc.c
> @@ -64,10 +64,9 @@ typedef struct TsccContext {
> static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
> AVPacket *avpkt)
> {
> - const uint8_t *buf = avpkt->data;
> int buf_size = avpkt->size;
> CamtasiaContext * const c = avctx->priv_data;
> - const unsigned char *encoded = buf;
> + unsigned char *encoded = avpkt->data;
> AVFrame *frame = data;
> int zret; // Zlib return code
> int ret, len = buf_size;
> --
It's the same zlib shit, the same reply
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel