projects
/
libam7xxx.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8e74aa4
)
am7xxx-play: get rid of the deprecated function av_free_packet()
author
Antonio Ospite <ao2@ao2.it>
Thu, 30 Jun 2016 16:05:53 +0000
(18:05 +0200)
committer
Antonio Ospite <ao2@ao2.it>
Thu, 30 Jun 2016 16:05:53 +0000
(18:05 +0200)
This also fixes this warning:
warning: ‘av_free_packet’ is deprecated
examples/am7xxx-play.c
patch
|
blob
|
history
diff --git
a/examples/am7xxx-play.c
b/examples/am7xxx-play.c
index
ad2ca6f
..
46a91c9
100644
(file)
--- a/
examples/am7xxx-play.c
+++ b/
examples/am7xxx-play.c
@@
-458,8
+458,8
@@
static int am7xxx_play(const char *input_format_string,
}
end_while:
if (!output_ctx.raw_output && got_packet)
- av_
free_packet
(&out_packet);
- av_
free_packet
(&in_packet);
+ av_
packet_unref
(&out_packet);
+ av_
packet_unref
(&in_packet);
}
sws_freeContext(sw_scale_ctx);