mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-11-03 17:20:56 +00:00
Merge remote-tracking branch 'qatar/master'
* qatar/master: ARM: allow runtime masking of CPU features dsputil: remove unused functions mov: Treat keyframe indexes as 1-origin if starting at non-zero. mov: Take stps entries into consideration also about key_off. Remove lowres video decoding Conflicts: ffmpeg.c ffplay.c libavcodec/arm/vp8dsp_init_arm.c libavcodec/libopenjpegdec.c libavcodec/mjpegdec.c libavcodec/mpegvideo.c libavcodec/utils.c libavformat/mov.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
92ef4be4ab
52 changed files with 219 additions and 841 deletions
|
|
@ -1852,7 +1852,7 @@ static void mov_build_index(MOVContext *mov, AVStream *st)
|
|||
unsigned int stts_sample = 0;
|
||||
unsigned int sample_size;
|
||||
unsigned int distance = 0;
|
||||
int key_off = sc->keyframe_count && sc->keyframes[0] == 1;
|
||||
int key_off = (sc->keyframe_count && sc->keyframes[0] > 0) || (sc->stps_data && sc->stps_data[0] > 0);
|
||||
|
||||
current_dts -= sc->dts_shift;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue