diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-01-12 00:16:21 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-01-12 10:39:24 +0100 |
commit | 7328c2fc2184476235ebc9a9b9247a986bdea1cf (patch) | |
tree | fdace444d103a0024abb61d2fd661a4b3a749ac2 /libavutil/integer.c | |
parent | a8b0ece6e59e9fd354cc426ea6ffab39352df3f5 (diff) | |
download | ffmpeg-7328c2fc2184476235ebc9a9b9247a986bdea1cf.tar.gz |
ffprobe: replace av_destruct_packet() with av_free_packet()
av_destruct_packet() always frees the packet data even when the demuxer
is going to re-use it, thus causing crashes when decoding audio
frames (as implemented in a pending patch).
av_free_packet() is used instead, as it allows each demuxer to set the
right packet data releasing mechanism through the pkt->destruct callback.
Diffstat (limited to 'libavutil/integer.c')
0 files changed, 0 insertions, 0 deletions