projects
/
platform
/
core
/
multimedia
/
libmm-fileinfo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88e6e81
)
MPEGTS content parsing timeout set.
50/164850/1
accepted/tizen/unified/20171222.062621
submit/tizen/20171222.014458
author
ji.yong.seo
<ji.yong.seo@samsung.com>
Thu, 23 Feb 2017 05:53:18 +0000
(14:53 +0900)
committer
Minje ahn
<minje.ahn@samsung.com>
Thu, 21 Dec 2017 07:50:30 +0000
(07:50 +0000)
Signed-off-by: ji.yong.seo <ji.yong.seo@samsung.com>
Change-Id: If2a7d646255ca0d35761c3d5aabd4667877d6d76
(cherry picked from commit
fea2250192199c4669c0c5974fc1e73f27ffee8e
)
formats/ffmpeg/mm_file_format_ffmpeg.c
patch
|
blob
|
history
diff --git
a/formats/ffmpeg/mm_file_format_ffmpeg.c
b/formats/ffmpeg/mm_file_format_ffmpeg.c
index
4b57870
..
e14ebd7
100755
(executable)
--- a/
formats/ffmpeg/mm_file_format_ffmpeg.c
+++ b/
formats/ffmpeg/mm_file_format_ffmpeg.c
@@
-398,6
+398,9
@@
int mmfile_format_read_stream_ffmpg(MMFileFormatContext *formatContext)
*@important if data is corrupted, occur segment fault by av_find_stream_info().
* - fixed 2009-06-25.
*/
+ if (formatContext->formatType == MM_FILE_FORMAT_M2TS)
+ pFormatCtx->max_analyze_duration = 100000; // MPEGTS file timeout set
+
if (formatContext->cdis != 1)
ret = avformat_find_stream_info(pFormatCtx, NULL);
else