avfilter/f_loop: fix video loop issues with 0 size or when size is bigger than input
authorMarton Balint <cus@passwd.hu>
Sun, 19 May 2019 19:16:03 +0000 (21:16 +0200)
committerMarton Balint <cus@passwd.hu>
Fri, 24 May 2019 19:39:07 +0000 (21:39 +0200)
commit87e0247a6c0f281158425d0f4958f1f1090bc15b
treee7fff358b312b86b3ba4f60c56f3d50a51fffbd7
parentf811ac52284a01e32143d9ff4eec044254725a09
avfilter/f_loop: fix video loop issues with 0 size or when size is bigger than input

Fixes infinte loop with -vf loop=loop=1 and also fixes looping when the input
is less frames than the specified loop size.

Possible regressions since ef1aadffc785b48ed62c45d954289e754f43ef46.

Signed-off-by: Marton Balint <cus@passwd.hu>
libavfilter/f_loop.c