Browse Source

id3v2: set the keyframe flag on attached pictures.

tags/n0.11
Anton Khirnov 13 years ago
parent
commit
713f3062a7
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavformat/id3v2.c

+ 1
- 0
libavformat/id3v2.c View File

@@ -724,6 +724,7 @@ int ff_id3v2_parse_apic(AVFormatContext *s, ID3v2ExtraMeta **extra_meta)
st->attached_pic.size = apic->len;
st->attached_pic.destruct = av_destruct_packet;
st->attached_pic.stream_index = st->index;
st->attached_pic.flags |= AV_PKT_FLAG_KEY;

apic->data = NULL;
apic->len = 0;


Loading…
Cancel
Save