mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-06 06:05:32 +01:00
Replace remaining occurances of av_free_packet with av_packet_unref
This commit is contained in:
@@ -267,7 +267,7 @@ static av_unused int64_t flac_read_timestamp(AVFormatContext *s, int stream_inde
|
||||
&out_pkt.data, &out_pkt.size, pkt.data, pkt.size,
|
||||
pkt.pts, pkt.dts, *ppos);
|
||||
|
||||
av_free_packet(&pkt);
|
||||
av_packet_unref(&pkt);
|
||||
if (out_pkt.size){
|
||||
int size = out_pkt.size;
|
||||
if (parser->pts != AV_NOPTS_VALUE){
|
||||
|
||||
Reference in New Issue
Block a user