support parse the l for the %lld or %ld

Signed-off-by: Steven Liu <l...@onvideo.cn>
---
 libavformat/utils.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libavformat/utils.c b/libavformat/utils.c
index 23865c88c4..c76a6cc5f8 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -4570,6 +4570,7 @@ int av_get_frame_filename2(char *buf, int buf_size, const 
char *path, int number
         if (c == '\0')
             break;
         if (c == '%') {
+ignoredl:
             do {
                 nd = 0;
                 while (av_isdigit(*p))
@@ -4593,6 +4594,9 @@ int av_get_frame_filename2(char *buf, int buf_size, const 
char *path, int number
                 memcpy(q, buf1, len);
                 q += len;
                 break;
+            case 'l':
+                goto ignoredl;
+
             default:
                 goto fail;
             }
-- 
2.11.0 (Apple Git-81)



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

Reply via email to