ffmpeg | branch: master | Paul B Mahol <[email protected]> | Sun Oct 20 11:39:24 
2019 +0200| [824b026d913ed325f8c9058ac547e1a22571cd5a] | committer: Paul B Mahol

avfilter/vf_shuffleframes: improve error message

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=824b026d913ed325f8c9058ac547e1a22571cd5a
---

 libavfilter/vf_shuffleframes.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_shuffleframes.c b/libavfilter/vf_shuffleframes.c
index 8e595111b8..1f780c7d49 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);
         }

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to