Ticket #469: h264_parse_close.udiff

File h264_parse_close.udiff, 501 bytes (added by codon1@…, 20 years ago)

unified diff

  • .c

    old new  
    80548054    return 0;
    80558055}
    80568056
     8057static void h264_parse_close(AVCodecParserContext *s)
     8058{
     8059    H264Context *h = s->priv_data;
     8060    ParseContext *pc = &h->s.parse_context;
     8061
     8062    av_free(pc->buffer);
     8063}
     8064
    80578065
    80588066AVCodec h264_decoder = {
    80598067    "h264",
     
    80738081    sizeof(H264Context),
    80748082    NULL,
    80758083    h264_parse,
    8076     ff_parse_close,
     8084    h264_parse_close,
    80778085    h264_split,
    80788086};
    80798087