Ticket #543: 0001-cdg.c-set-AV_PKT_FLAG_KEY-flag.patch

File 0001-cdg.c-set-AV_PKT_FLAG_KEY-flag.patch, 666 bytes (added by gdesmott, 5 years ago)

patch

  • libavformat/cdg.c

    From c2b13956b1b28d0718385d61ce942799a3bd85f8 Mon Sep 17 00:00:00 2001
    From: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
    Date: Mon, 10 Oct 2011 17:28:07 -0400
    Subject: [PATCH] cdg.c: set AV_PKT_FLAG_KEY flag
    
    ---
     libavformat/cdg.c |    1 +
     1 files changed, 1 insertions(+), 0 deletions(-)
    
    diff --git a/libavformat/cdg.c b/libavformat/cdg.c
    index b47a20e..4521413 100644
    a b static int read_packet(AVFormatContext *s, AVPacket *pkt) 
    5252    ret = av_get_packet(s->pb, pkt, CDG_PACKET_SIZE); 
    5353 
    5454    pkt->stream_index = 0; 
     55    pkt->flags = AV_PKT_FLAG_KEY; 
    5556    return ret; 
    5657} 
    5758