OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f558126
)
utils: consider mpeg4 in mp4/mov to have a unreliable timebase
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 15 Oct 2012 23:04:02 +0000
(
01:04
+0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 15 Oct 2012 23:04:02 +0000
(
01:04
+0200)
Partly fixes Ticket1664
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/utils.c
patch
|
blob
|
history
diff --git
a/libavformat/utils.c
b/libavformat/utils.c
index
a20849c
..
be1be00
100644
(file)
--- a/
libavformat/utils.c
+++ b/
libavformat/utils.c
@@
-2475,6
+2475,7
@@
static int tb_unreliable(AVCodecContext *c){
|| c->time_base.den < 5L*c->time_base.num
/* || c->codec_tag == AV_RL32("DIVX")
|| c->codec_tag == AV_RL32("XVID")*/
+ || c->codec_tag == AV_RL32("mp4v")
|| c->codec_id == AV_CODEC_ID_MPEG2VIDEO
|| c->codec_id == AV_CODEC_ID_H264
)