X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Fvf_shuffleframes.c;h=1f780c7d49c8b095e334850595f0143e254e8f58;hb=339af976b6fd9c05d1e75e75a5323efdb3d6afa1;hp=8e595111b80d8332cfdebbbe2714a36a09dd058f;hpb=b8eb0827f053230dd919bc73e25381b47b4fe1a7;p=ffmpeg diff --git a/libavfilter/vf_shuffleframes.c b/libavfilter/vf_shuffleframes.c index 8e595111b80..1f780c7d49c 100644 --- a/libavfilter/vf_shuffleframes.c +++ b/libavfilter/vf_shuffleframes.c @@ -69,7 +69,7 @@ static av_cold int init(AVFilterContext *ctx) } if (s->map[n] < -1 || s->map[n] >= nb_items) { - av_log(ctx, AV_LOG_ERROR, "Index out of range.\n"); + av_log(ctx, AV_LOG_ERROR, "Index %d out of range: [-1, %d].\n", s->map[n], nb_items - 1); av_free(mapping); return AVERROR(EINVAL); }