# HG changeset patch # User stefano # Date 1264201748 0 # Node ID 21c98b55a800b727d760268a828e78c13b9c1be5 # Parent 1a89eae96a276f22b7c035748d2c5d52e359e52d Replace deprecated guess_format() with av_guess_format(). Patch by Martin Storsj reverse(). diff -r 1a89eae96a27 -r 21c98b55a800 output-example.c --- a/output-example.c Fri Jan 22 16:12:55 2010 +0000 +++ b/output-example.c Fri Jan 22 23:09:08 2010 +0000 @@ -447,10 +447,10 @@ /* auto detect the output format from the name. default is mpeg. */ - fmt = guess_format(NULL, filename, NULL); + fmt = av_guess_format(NULL, filename, NULL); if (!fmt) { printf("Could not deduce output format from file extension: using MPEG.\n"); - fmt = guess_format("mpeg", NULL, NULL); + fmt = av_guess_format("mpeg", NULL, NULL); } if (!fmt) { fprintf(stderr, "Could not find suitable output format\n");