tak_parser: properly mark packets as key frames

Signed-off-by: Paul B Mahol <onemda@gmail.com>
pull/26/head
Paul B Mahol 12 years ago
parent 2bccd82c29
commit 36748d4b6c
  1. 1
      libavcodec/tak_parser.c

@ -90,6 +90,7 @@ static int tak_parse(AVCodecParserContext *s, AVCodecContext *avctx,
s->duration = t->ti.last_frame_samples ?
t->ti.last_frame_samples :
t->ti.frame_samples;
s->key_frame = !!(t->ti.flags & TAK_FRAME_FLAG_HAS_INFO);
} else {
pc->frame_start_found = 0;
next = t->index - pc->index;

Loading…
Cancel
Save