On Thu, Nov 09, 2017 at 01:07:49AM +0000, Mark Thompson wrote:
> --- a/libavcodec/cbs_mpeg2.c
> +++ b/libavcodec/cbs_mpeg2.c
> @@ -54,7 +54,7 @@
>
> #define marker_bit() do { \
> - av_unused int one = 1; \
> + av_unused uint32_t one; \
> CHECK(ff_cbs_read_unsigned(ctx, rw, 1, "marker_bit", &one, 1, 1)); \
Dropping the initialization looks odd. Also, why is this av_unused?
Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel