This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
avformat/mov: allow seeking back to the begin even if nothing is marked as keyframe
Fixes Ticket 3663 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.3
Michael Niedermayer
11 years ago
parent
d2eacbb754
commit
96470ca22b
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavformat/mov.c
+ 1
- 1
libavformat/mov.c
View File
@@ -2157,7 +2157,7 @@ static void mov_build_index(MOVContext *mov, AVStream *st)
if (sc->keyframe_absent
if (sc->keyframe_absent
&& !sc->stps_count
&& !sc->stps_count
&& !rap_group_present
&& !rap_group_present
&& st->codec->codec_type == AVMEDIA_TYPE_AUDIO)
&&
(
st->codec->codec_type == AVMEDIA_TYPE_AUDIO
|| (i==0 && j==0))
)
keyframe = 1;
keyframe = 1;
if (keyframe)
if (keyframe)
distance = 0;
distance = 0;
Write
Preview
Loading…
Cancel
Save