[FFmpeg-cvslog] r21387 - trunk/libavformat/output-example.c
stefano
subversion
Sat Jan 23 00:09:08 CET 2010
Author: stefano
Date: Sat Jan 23 00:09:08 2010
New Revision: 21387
Log:
Replace deprecated guess_format() with av_guess_format().
Patch by Martin Storsj? reverse(<ts.nitram at nitram>).
Modified:
trunk/libavformat/output-example.c
Modified: trunk/libavformat/output-example.c
==============================================================================
--- trunk/libavformat/output-example.c Sat Jan 23 00:07:58 2010 (r21386)
+++ trunk/libavformat/output-example.c Sat Jan 23 00:09:08 2010 (r21387)
@@ -447,10 +447,10 @@ int main(int argc, char **argv)
/* 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");
More information about the ffmpeg-cvslog
mailing list