mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-12-24 11:52:06 +08:00
Merge commit 'ce70f28a1732c74a9cd7fec2d56178750bd6e457'
* commit 'ce70f28a1732c74a9cd7fec2d56178750bd6e457': avpacket: Replace av_free_packet with av_packet_unref Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
This commit is contained in:
@@ -2611,7 +2611,7 @@ static int mpegts_raw_read_packet(AVFormatContext *s, AVPacket *pkt)
|
||||
ret = read_packet(s, pkt->data, ts->raw_packet_size, &data);
|
||||
pkt->pos = avio_tell(s->pb);
|
||||
if (ret < 0) {
|
||||
av_free_packet(pkt);
|
||||
av_packet_unref(pkt);
|
||||
return ret;
|
||||
}
|
||||
if (data != pkt->data)
|
||||
|
||||
Reference in New Issue
Block a user