i guess that should be fixed somehow as well as -Wmisleading-indentation is a clearly warning sign - at the bottom also a lot of dead code which maybe only get visible when building with LTO
___________________________________________________

src/libavformat/rtpdec_formats.h:41:5: warning: type of 'ff_h264_handle_aggregated_packet' does not match original declaration [-Wlto-type-mismatch] int ff_h264_handle_aggregated_packet(AVFormatContext *ctx, PayloadContext *data, AVPacket *pkt,
     ^
src/libavformat/rtpdec_h264.c:206:5: note: 'ff_h264_handle_aggregated_packet' was previously declared here int ff_h264_handle_aggregated_packet(AVFormatContext *ctx, PayloadContext *data, AVPacket *pkt,
     ^
src/libavformat/rtpdec_h264.c:206:5: note: code may be misoptimized unless -fno-strict-aliasing is used
LD      libavfilter/libavfilter.so.6
___________________________________________________

src/libavcodec/qdm2.c: In function 'fill_coding_method_array':
src/libavcodec/qdm2.c:539:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
         for (ch = 0; ch < nb_channels; ch++)
         ^~~
src/libavcodec/qdm2.c:568:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
             acc = 0;
             ^~~

src/libavcodec/mpegvideo.c: In function 'ff_mpv_common_init':
src/libavcodec/mpegvideo.c:940:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if (!s->new_picture.f)
     ^~
src/libavcodec/mpegvideo.c:943:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
         if (init_context_frame(s))
         ^~
src/libavcodec/mpegvideo.c:960:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
                 if (init_duplicate_context(s->thread_context[i]) < 0)
                 ^~
src/libavcodec/mpegvideo.c:962:21: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
                     s->thread_context[i]->start_mb_y =
                     ^
src/libavcodec/mpegvideo.c: In function 'ff_mpv_common_frame_size_change':
src/libavcodec/mpegvideo.c:1091:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((err = init_duplicate_context(s->thread_context[i])) < 0)
                 ^~
src/libavcodec/mpegvideo.c:1093:21: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
                     s->thread_context[i]->start_mb_y =
                     ^
CC      libavcodec/mpl2dec.o
src/libavcodec/mpegvideo_enc.c: In function 'encode_frame':
src/libavcodec/mpegvideo_enc.c:1400:5: warning: 'avcodec_encode_video2' is deprecated [-Wdeprecated-declarations]
     ret = avcodec_encode_video2(c, &pkt, frame, &got_output);
     ^~~
In file included from src/libavcodec/mpegvideo_enc.c:42:0:
src/libavcodec/avcodec.h:5261:5: note: declared here
 int avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt,
     ^~~~~~~~~~~~~~~~~~~~~

src/libavcodec/ivi_dsp.c: In function 'ff_ivi_inverse_slant_8x8':
src/libavcodec/ivi_dsp.c:552:11: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
         } else
           ^~~~
src/libavcodec/ivi_dsp.c:555:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
             src++;
             ^~~
src/libavcodec/ivi_dsp.c: In function 'ff_ivi_inverse_slant_4x4':
src/libavcodec/ivi_dsp.c:592:11: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
         } else
           ^~~~
src/libavcodec/ivi_dsp.c:595:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
             src++;
             ^~~
___________________________________________________

src/libavcodec/h264_slice.c: In function 'ff_h264_decode_slice_header':
src/libavcodec/h264_slice.c:1188:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
         h->ps.sps = (const SPS*)h->ps.sps_ref->data;
                   ^

src/libavcodec/utils.c: In function 'avcodec_encode_audio2':
src/libavcodec/utils.c:1891:13: warning: 'av_dup_packet' is deprecated [-Wdeprecated-declarations]
             if (av_dup_packet(avpkt) < 0) {
             ^~
In file included from src/libavcodec/utils.c:46:0:
src/libavcodec/avcodec.h:4391:5: note: declared here
 int av_dup_packet(AVPacket *pkt);
     ^~~~~~~~~~~~~
src/libavcodec/utils.c: In function 'avcodec_encode_video2':
src/libavcodec/utils.c:1985:13: warning: 'av_dup_packet' is deprecated [-Wdeprecated-declarations]
             if (av_dup_packet(avpkt) < 0) {
             ^~
In file included from src/libavcodec/utils.c:46:0:
src/libavcodec/avcodec.h:4391:5: note: declared here
 int av_dup_packet(AVPacket *pkt);
     ^~~~~~~~~~~~~
src/libavcodec/utils.c: In function 'avcodec_decode_video2':
src/libavcodec/utils.c:2212:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     avctx->internal->pkt = avpkt;
                          ^
src/libavcodec/utils.c:2213:37: warning: passing argument 2 of 'apply_param_change' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     ret = apply_param_change(avctx, avpkt);
                                     ^~~~~
src/libavcodec/utils.c:2063:12: note: expected 'AVPacket * {aka struct AVPacket *}' but argument is of type 'const AVPacket * {aka const struct AVPacket *}'
 static int apply_param_change(AVCodecContext *avctx, AVPacket *avpkt)
            ^~~~~~~~~~~~~~~~~~
src/libavcodec/utils.c: In function 'do_decode':
src/libavcodec/utils.c:2741:9: warning: 'avcodec_decode_video2' is deprecated [-Wdeprecated-declarations]
         ret = avcodec_decode_video2(avctx, avctx->internal->buffer_frame,
         ^~~
src/libavcodec/utils.c:2187:25: note: declared here
int attribute_align_arg avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
                         ^~~~~~~~~~~~~~~~~~~~~
src/libavcodec/utils.c:2746:9: warning: 'avcodec_decode_audio4' is deprecated [-Wdeprecated-declarations]
         ret = avcodec_decode_audio4(avctx, avctx->internal->buffer_frame,
         ^~~
src/libavcodec/utils.c:2288:25: note: declared here
 int attribute_align_arg avcodec_decode_audio4(AVCodecContext *avctx,
                         ^~~~~~~~~~~~~~~~~~~~~
src/libavcodec/utils.c: In function 'do_encode':
src/libavcodec/utils.c:2882:9: warning: 'avcodec_encode_video2' is deprecated [-Wdeprecated-declarations]
         ret = avcodec_encode_video2(avctx, avctx->internal->buffer_pkt,
         ^~~
src/libavcodec/utils.c:1929:25: note: declared here
 int attribute_align_arg avcodec_encode_video2(AVCodecContext *avctx,
                         ^~~~~~~~~~~~~~~~~~~~~
src/libavcodec/utils.c:2885:9: warning: 'avcodec_encode_audio2' is deprecated [-Wdeprecated-declarations]
         ret = avcodec_encode_audio2(avctx, avctx->internal->buffer_pkt,
         ^~~
src/libavcodec/utils.c:1783:25: note: declared here
 int attribute_align_arg avcodec_encode_audio2(AVCodecContext *avctx,

___________________________________________________

In file included from src/libavcodec/x86/hpeldsp_init.c:30:0:
src/libavcodec/x86/hpeldsp_init.c:173:20: warning: 'avg_approx_pixels16_xy2_3dnow' defined but not used [-Wunused-function] CALL_2X_PIXELS(avg_approx_pixels16_xy2## CPUEXT, ff_avg_approx_pixels8_xy2## CPUEXT, 8)
                    ^
src/libavcodec/pixels.h:27:13: note: in definition of macro 'CALL_2X_PIXELS_MACRO'
 STATIC void a(uint8_t *block, const uint8_t *pixels, \
             ^
src/libavcodec/x86/hpeldsp_init.c:173:5: note: in expansion of macro 'CALL_2X_PIXELS' CALL_2X_PIXELS(avg_approx_pixels16_xy2## CPUEXT, ff_avg_approx_pixels8_xy2## CPUEXT, 8)
     ^~~~~~~~~~~~~~
src/libavcodec/x86/hpeldsp_init.c:175:1: note: in expansion of macro 'HPELDSP_AVG_PIXELS16'
 HPELDSP_AVG_PIXELS16(_3dnow)
 ^~~~~~~~~~~~~~~~~~~~
src/libavcodec/x86/hpeldsp_init.c:172:20: warning: 'avg_pixels16_xy2_3dnow' defined but not used [-Wunused-function] CALL_2X_PIXELS(avg_pixels16_xy2 ## CPUEXT, ff_avg_pixels8_xy2 ## CPUEXT, 8) \
                    ^
src/libavcodec/pixels.h:27:13: note: in definition of macro 'CALL_2X_PIXELS_MACRO'
 STATIC void a(uint8_t *block, const uint8_t *pixels, \
             ^
src/libavcodec/x86/hpeldsp_init.c:172:5: note: in expansion of macro 'CALL_2X_PIXELS' CALL_2X_PIXELS(avg_pixels16_xy2 ## CPUEXT, ff_avg_pixels8_xy2 ## CPUEXT, 8) \
     ^~~~~~~~~~~~~~
src/libavcodec/x86/hpeldsp_init.c:175:1: note: in expansion of macro 'HPELDSP_AVG_PIXELS16'
 HPELDSP_AVG_PIXELS16(_3dnow)
 ^~~~~~~~~~~~~~~~~~~~
src/libavcodec/x86/hpeldsp_init.c:171:20: warning: 'avg_pixels16_y2_3dnow' defined but not used [-Wunused-function] CALL_2X_PIXELS(avg_pixels16_y2 ## CPUEXT, ff_avg_pixels8_y2 ## CPUEXT, 8) \
                    ^
src/libavcodec/pixels.h:27:13: note: in definition of macro 'CALL_2X_PIXELS_MACRO'
 STATIC void a(uint8_t *block, const uint8_t *pixels, \
             ^
src/libavcodec/x86/hpeldsp_init.c:171:5: note: in expansion of macro 'CALL_2X_PIXELS' CALL_2X_PIXELS(avg_pixels16_y2 ## CPUEXT, ff_avg_pixels8_y2 ## CPUEXT, 8) \
     ^~~~~~~~~~~~~~
src/libavcodec/x86/hpeldsp_init.c:175:1: note: in expansion of macro 'HPELDSP_AVG_PIXELS16'
 HPELDSP_AVG_PIXELS16(_3dnow)
 ^~~~~~~~~~~~~~~~~~~~
src/libavcodec/x86/hpeldsp_init.c:170:20: warning: 'avg_pixels16_x2_3dnow' defined but not used [-Wunused-function] CALL_2X_PIXELS(avg_pixels16_x2 ## CPUEXT, ff_avg_pixels8_x2 ## CPUEXT, 8) \
                    ^
src/libavcodec/pixels.h:27:13: note: in definition of macro 'CALL_2X_PIXELS_MACRO'
 STATIC void a(uint8_t *block, const uint8_t *pixels, \
             ^
src/libavcodec/x86/hpeldsp_init.c:170:5: note: in expansion of macro 'CALL_2X_PIXELS' CALL_2X_PIXELS(avg_pixels16_x2 ## CPUEXT, ff_avg_pixels8_x2 ## CPUEXT, 8) \
     ^~~~~~~~~~~~~~
src/libavcodec/x86/hpeldsp_init.c:175:1: note: in expansion of macro 'HPELDSP_AVG_PIXELS16'
 HPELDSP_AVG_PIXELS16(_3dnow)
 ^~~~~~~~~~~~~~~~~~~~
src/libavcodec/x86/hpeldsp_init.c:169:20: warning: 'avg_pixels16_3dnow' defined but not used [-Wunused-function] CALL_2X_PIXELS(avg_pixels16 ## CPUEXT, ff_avg_pixels8 ## CPUEXT, 8) \
                    ^
src/libavcodec/pixels.h:27:13: note: in definition of macro 'CALL_2X_PIXELS_MACRO'
 STATIC void a(uint8_t *block, const uint8_t *pixels, \
             ^
src/libavcodec/x86/hpeldsp_init.c:169:5: note: in expansion of macro 'CALL_2X_PIXELS' CALL_2X_PIXELS(avg_pixels16 ## CPUEXT, ff_avg_pixels8 ## CPUEXT, 8) \
     ^~~~~~~~~~~~~~
src/libavcodec/x86/hpeldsp_init.c:175:1: note: in expansion of macro 'HPELDSP_AVG_PIXELS16'
 HPELDSP_AVG_PIXELS16(_3dnow)
 ^~~~~~~~~~~~~~~~~~~~
src/libavcodec/x86/hpeldsp_init.c:168:20: warning: 'put_no_rnd_pixels16_y2_3dnow' defined but not used [-Wunused-function] CALL_2X_PIXELS(put_no_rnd_pixels16_y2 ## CPUEXT, ff_put_no_rnd_pixels8_y2 ## CPUEXT, 8) \
                    ^
src/libavcodec/pixels.h:27:13: note: in definition of macro 'CALL_2X_PIXELS_MACRO'
 STATIC void a(uint8_t *block, const uint8_t *pixels, \
             ^
src/libavcodec/x86/hpeldsp_init.c:168:5: note: in expansion of macro 'CALL_2X_PIXELS' CALL_2X_PIXELS(put_no_rnd_pixels16_y2 ## CPUEXT, ff_put_no_rnd_pixels8_y2 ## CPUEXT, 8) \
     ^~~~~~~~~~~~~~
src/libavcodec/x86/hpeldsp_init.c:175:1: note: in expansion of macro 'HPELDSP_AVG_PIXELS16'
 HPELDSP_AVG_PIXELS16(_3dnow)
 ^~~~~~~~~~~~~~~~~~~~
src/libavcodec/x86/hpeldsp_init.c:167:20: warning: 'put_pixels16_y2_3dnow' defined but not used [-Wunused-function] CALL_2X_PIXELS(put_pixels16_y2 ## CPUEXT, ff_put_pixels8_y2 ## CPUEXT, 8) \
                    ^
src/libavcodec/pixels.h:27:13: note: in definition of macro 'CALL_2X_PIXELS_MACRO'
 STATIC void a(uint8_t *block, const uint8_t *pixels, \
             ^
src/libavcodec/x86/hpeldsp_init.c:167:5: note: in expansion of macro 'CALL_2X_PIXELS' CALL_2X_PIXELS(put_pixels16_y2 ## CPUEXT, ff_put_pixels8_y2 ## CPUEXT, 8) \
     ^~~~~~~~~~~~~~
src/libavcodec/x86/hpeldsp_init.c:175:1: note: in expansion of macro 'HPELDSP_AVG_PIXELS16'
 HPELDSP_AVG_PIXELS16(_3dnow)
 ^~~~~~~~~~~~~~~~~~~~
src/libavcodec/x86/hpeldsp_init.c:166:20: warning: 'put_no_rnd_pixels16_x2_3dnow' defined but not used [-Wunused-function] CALL_2X_PIXELS(put_no_rnd_pixels16_x2 ## CPUEXT, ff_put_no_rnd_pixels8_x2 ## CPUEXT, 8) \
                    ^
src/libavcodec/pixels.h:27:13: note: in definition of macro 'CALL_2X_PIXELS_MACRO'
 STATIC void a(uint8_t *block, const uint8_t *pixels, \
             ^
src/libavcodec/x86/hpeldsp_init.c:166:5: note: in expansion of macro 'CALL_2X_PIXELS' CALL_2X_PIXELS(put_no_rnd_pixels16_x2 ## CPUEXT, ff_put_no_rnd_pixels8_x2 ## CPUEXT, 8) \
     ^~~~~~~~~~~~~~
src/libavcodec/x86/hpeldsp_init.c:175:1: note: in expansion of macro 'HPELDSP_AVG_PIXELS16'
 HPELDSP_AVG_PIXELS16(_3dnow)
 ^~~~~~~~~~~~~~~~~~~~

src/libavcodec/tdsc.c: In function 'tdsc_decode_jpeg_tile':
src/libavcodec/tdsc.c:354:5: warning: 'avcodec_decode_video2' is deprecated [-Wdeprecated-declarations]
     ret = avcodec_decode_video2(ctx->jpeg_avctx, ctx->jpgframe,
     ^~~
In file included from src/libavcodec/tdsc.c:41:0:
src/libavcodec/avcodec.h:4753:5: note: declared here
 int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,

src/libavcodec/snowenc.c: In function 'encode_frame':
src/libavcodec/snowenc.c:1646:5: warning: 'coded_frame' is deprecated [-Wdeprecated-declarations]
     av_frame_unref(avctx->coded_frame);
     ^~~~~~~~~~~~~~
In file included from src/libavcodec/snowenc.c:25:0:
src/libavcodec/avcodec.h:3070:35: note: declared here
     attribute_deprecated AVFrame *coded_frame;
                                   ^~~~~~~~~~~
src/libavcodec/snowenc.c:1647:5: warning: 'coded_frame' is deprecated [-Wdeprecated-declarations]
     ret = av_frame_ref(avctx->coded_frame, s->current_picture);
     ^~~
In file included from src/libavcodec/snowenc.c:25:0:
src/libavcodec/avcodec.h:3070:35: note: declared here
     attribute_deprecated AVFrame *coded_frame;
                                   ^~~~~~~~~~~
src/libavcodec/snowenc.c:1677:9: warning: 'me_method' is deprecated [-Wdeprecated-declarations]
         s->m.me_method= s->avctx->me_method;
         ^
In file included from src/libavcodec/snowenc.c:25:0:
src/libavcodec/avcodec.h:1884:30: note: declared here
     attribute_deprecated int me_method;
                              ^~~~~~~~~
src/libavcodec/snowenc.c:1879:5: warning: 'frame_bits' is deprecated [-Wdeprecated-declarations]
     avctx->frame_bits = s->m.frame_bits;
     ^~~~~
In file included from src/libavcodec/snowenc.c:25:0:
src/libavcodec/avcodec.h:2809:9: note: declared here
     int frame_bits;
         ^~~~~~~~~~
src/libavcodec/snowenc.c:1880:5: warning: 'mv_bits' is deprecated [-Wdeprecated-declarations]
     avctx->mv_bits = s->m.mv_bits;
     ^~~~~
In file included from src/libavcodec/snowenc.c:25:0:
src/libavcodec/avcodec.h:2791:9: note: declared here
     int mv_bits;
         ^~~~~~~
src/libavcodec/snowenc.c:1881:5: warning: 'misc_bits' is deprecated [-Wdeprecated-declarations]
     avctx->misc_bits = s->m.misc_bits;
     ^~~~~
In file included from src/libavcodec/snowenc.c:25:0:
src/libavcodec/avcodec.h:2805:9: note: declared here
     int misc_bits;
         ^~~~~~~~~
src/libavcodec/snowenc.c:1882:5: warning: 'p_tex_bits' is deprecated [-Wdeprecated-declarations]
     avctx->p_tex_bits = s->m.p_tex_bits;
     ^~~~~
In file included from src/libavcodec/snowenc.c:25:0:
src/libavcodec/avcodec.h:2797:9: note: declared here
     int p_tex_bits;
src/libavcodec/smvjpegdec.c: In function 'smvjpeg_decode_frame':
src/libavcodec/smvjpegdec.c:162:9: warning: 'avcodec_decode_video2' is deprecated [-Wdeprecated-declarations] ret = avcodec_decode_video2(s->avctx, mjpeg_data, &s->mjpeg_data_size, avpkt);
         ^~~
In file included from src/libavcodec/smvjpegdec.c:28:0:
src/libavcodec/avcodec.h:4753:5: note: declared here
 int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
     ^~~~~~~~~~~~~~~~~~~~~

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

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to