mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-05-23 13:09:16 +00:00
Replace remaining occurances of av_free_packet with av_packet_unref
This commit is contained in:
parent
7f5af80ba4
commit
c2f861ca42
59 changed files with 99 additions and 99 deletions
|
@ -211,7 +211,7 @@ static void audio_encode_example(const char *filename)
|
|||
}
|
||||
if (got_output) {
|
||||
fwrite(pkt.data, 1, pkt.size, f);
|
||||
av_free_packet(&pkt);
|
||||
av_packet_unref(&pkt);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue