libav 0.7: use av_dump_format() instead of dump_format()

This commit is contained in:
Julien BLACHE 2011-09-10 12:25:52 +02:00
parent ed20d3f7de
commit a2f409dd0a

View File

@ -336,7 +336,11 @@ scan_metadata_ffmpeg(char *file, struct media_file_info *mfi)
#if 0
/* Dump input format as determined by ffmpeg */
# if LIBAVFORMAT_VERSION_MAJOR >= 52 || (LIBAVFORMAT_VERSION_MAJOR == 52 && LIBAVCODEC_VERSION_MINOR >= 101)
av_dump_format(ctx, 0, file, 0);
# else
dump_format(ctx, 0, file, FALSE);
# endif
#endif
DPRINTF(E_DBG, L_SCAN, "File has %d streams\n", ctx->nb_streams);