OSDN Git Service

movdec: Ignore sample_degradation_priority bits when checking first_sample_flags
authorMartin Storsjö <martin@martin.st>
Wed, 18 Jan 2012 13:12:10 +0000 (15:12 +0200)
committerMartin Storsjö <martin@martin.st>
Mon, 30 Jan 2012 22:13:31 +0000 (00:13 +0200)
commit75ab1e62d4187c8ad627835ee8fcf38501477caf
tree8a5ba6a46dd0e654d08d0b86c03dfdc21acd3334
parent89f6e8a20c07ad779ca374fdc5b16a22a37a6150
movdec: Ignore sample_degradation_priority bits when checking first_sample_flags

This makes the first packet of a track fragment run to get
the keyframe flag set properly if sample_degradation_priority
is nonzero.

This makes the keyframes flag be set properly for ismv files
created by Microsoft.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/mov.c