diff options
| author | Hendrik Leppkes <[email protected]> | 2015-10-27 14:35:30 +0100 | 
|---|---|---|
| committer | Hendrik Leppkes <[email protected]> | 2015-10-27 14:35:30 +0100 | 
| commit | c2f861ca42fa1a2fb6f7e85abb7bd44f39c6f2c4 (patch) | |
| tree | fd5a76e51fa3eb2b90deafbb6c0c48a127be42a9 /libavformat/mpeg.c | |
| parent | 7f5af80ba42bbd82da53dfd95236e9d47159a96a (diff) | |
Replace remaining occurances of av_free_packet with av_packet_unref
Diffstat (limited to 'libavformat/mpeg.c')
| -rw-r--r-- | libavformat/mpeg.c | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c index 55f2b3fb68..fb77d892d5 100644 --- a/libavformat/mpeg.c +++ b/libavformat/mpeg.c @@ -956,12 +956,12 @@ static int vobsub_read_packet(AVFormatContext *s, AVPacket *pkt)      pkt->pos = idx_pkt.pos;      pkt->stream_index = idx_pkt.stream_index; -    av_free_packet(&idx_pkt); +    av_packet_unref(&idx_pkt);      return 0;  fail: -    av_free_packet(pkt); -    av_free_packet(&idx_pkt); +    av_packet_unref(pkt); +    av_packet_unref(&idx_pkt);      return ret;  }  | 
