aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2015-10-27 14:35:30 +0100
committerHendrik Leppkes <h.leppkes@gmail.com>2015-10-27 14:35:30 +0100
commitc2f861ca42fa1a2fb6f7e85abb7bd44f39c6f2c4 (patch)
treefd5a76e51fa3eb2b90deafbb6c0c48a127be42a9 /tools
parent7f5af80ba42bbd82da53dfd95236e9d47159a96a (diff)
downloadandroid_external_ffmpeg-c2f861ca42fa1a2fb6f7e85abb7bd44f39c6f2c4.tar.gz
android_external_ffmpeg-c2f861ca42fa1a2fb6f7e85abb7bd44f39c6f2c4.tar.bz2
android_external_ffmpeg-c2f861ca42fa1a2fb6f7e85abb7bd44f39c6f2c4.zip
Replace remaining occurances of av_free_packet with av_packet_unref
Diffstat (limited to 'tools')
-rw-r--r--tools/seek_print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/seek_print.c b/tools/seek_print.c
index c42b28dd44..de876b487c 100644
--- a/tools/seek_print.c
+++ b/tools/seek_print.c
@@ -87,7 +87,7 @@ int main(int argc, char **argv)
ret, packet.size, packet.stream_index,
av_ts2str(packet.dts), av_ts2timestr(packet.dts, tb),
av_ts2str(packet.pts), av_ts2timestr(packet.pts, tb));
- av_free_packet(&packet);
+ av_packet_unref(&packet);
}
} else if (sscanf(*argv, "seek:%i:%"SCNi64":%"SCNi64":%"SCNi64":%i",
&stream, &min_ts, &ts, &max_ts, &flags) == 5) {