mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-26 01:49:43 +08:00
Replace remaining occurances of av_free_packet with av_packet_unref
This commit is contained in:
@ -167,7 +167,7 @@ int main(int argc, char **argv)
|
||||
pkt.data += ret;
|
||||
pkt.size -= ret;
|
||||
} while (pkt.size > 0);
|
||||
av_free_packet(&orig_pkt);
|
||||
av_packet_unref(&orig_pkt);
|
||||
}
|
||||
|
||||
/* flush cached frames */
|
||||
|
Reference in New Issue
Block a user