Do not leak the packet data
Oops! The content of the packets were never freed.
This commit is contained in:
parent
e8b8a570e7
commit
a34fbd23e9
1 changed files with 1 additions and 0 deletions
|
@ -123,6 +123,7 @@ static int run_decoder(void *data) {
|
|||
packet.data += len;
|
||||
}
|
||||
#endif
|
||||
av_packet_unref(&packet);
|
||||
}
|
||||
|
||||
LOGD("End of frames");
|
||||
|
|
Loading…
Reference in a new issue