projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
af7e273
)
lavf/srtdec: fix indent
author
Rodger Combs
<rodger.combs@gmail.com>
Sat, 25 Jun 2016 20:53:11 +0000
(15:53 -0500)
committer
Rodger Combs
<rodger.combs@gmail.com>
Sat, 25 Jun 2016 20:53:11 +0000
(15:53 -0500)
libavformat/srtdec.c
patch
|
blob
|
history
diff --git
a/libavformat/srtdec.c
b/libavformat/srtdec.c
index 9ab7a4ef36c5d6e0f358491a5df39a3b366ef68d..067db63f215605638f7c7adad0c2f73fa8c9f155 100644
(file)
--- a/
libavformat/srtdec.c
+++ b/
libavformat/srtdec.c
@@
-54,7
+54,7
@@
static int srt_probe(AVProbeData *p)
return 0;
pbuf = buf;
if (buf[0] == '-')
return 0;
pbuf = buf;
if (buf[0] == '-')
- pbuf++;
+
pbuf++;
if (pbuf[0] >= '0' && pbuf[0] <= '9' && strstr(buf, " --> ")
&& sscanf(buf, "%*d:%*d:%*d%*1[,.]%*d --> %*d:%*d:%*d%*1[,.]%d", &v) == 1)
return AVPROBE_SCORE_MAX;
if (pbuf[0] >= '0' && pbuf[0] <= '9' && strstr(buf, " --> ")
&& sscanf(buf, "%*d:%*d:%*d%*1[,.]%*d --> %*d:%*d:%*d%*1[,.]%d", &v) == 1)
return AVPROBE_SCORE_MAX;