Ticket #6153: patchsize.diff

File patchsize.diff, 365 bytes (added by cehoyos, 2 years ago)
  • libavcodec/avpacket.c

    diff --git a/libavcodec/avpacket.c b/libavcodec/avpacket.c
    index 24b4efb..8e028a2 100644
    a b uint8_t *av_packet_get_side_data(AVPacket *pkt, enum AVPacketSideDataType type, 
    348348            return pkt->side_data[i].data;
    349349        }
    350350    }
     351    if (size)
     352        *size = 0;
    351353    return NULL;
    352354}
    353355