summaryrefslogtreecommitdiff
path: root/tools/pktdumper.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-08-26 17:40:07 +0200
committerDiego Biurrun <diego@biurrun.de>2011-08-26 17:40:07 +0200
commitc960e67ad0f6b318a5f229bb662c899e7e7570d8 (patch)
tree06a910110a22a49f13601074ad446532cde22150 /tools/pktdumper.c
parent5f677aac7687a5ceac45b53be5e8fe6ebf07c34d (diff)
Replace deprecated av_find_stream_info() by avformat_find_stream_info().
Diffstat (limited to 'tools/pktdumper.c')
-rw-r--r--tools/pktdumper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/pktdumper.c b/tools/pktdumper.c
index 80816d24b9..56bc7b7ce0 100644
--- a/tools/pktdumper.c
+++ b/tools/pktdumper.c
@@ -89,9 +89,9 @@ int main(int argc, char **argv)
return 1;
}
- err = av_find_stream_info(fctx);
+ err = avformat_find_stream_info(fctx, NULL);
if (err < 0) {
- fprintf(stderr, "av_find_stream_info: error %d\n", err);
+ fprintf(stderr, "avformat_find_stream_info: error %d\n", err);
return 1;
}