summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-01-01 12:58:03 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-01-01 12:58:03 +0000
commit0f52ef1a001e049cda8623821f9b47bfc8a97bf6 (patch)
tree3c7bf4c82220aba230eff5ef0aa15230cf2dc1c6 /ffmpeg.c
parent94b1f33893491d131319b14a9fe3aeca42339497 (diff)
Use av_guess_format() in place of the deprecated guess_format().
Originally committed as revision 20994 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 7f17566247..11350ae4f1 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3361,14 +3361,14 @@ static void opt_output_file(const char *filename)
}
if (last_asked_format) {
- file_oformat = guess_format(last_asked_format, NULL, NULL);
+ file_oformat = av_guess_format(last_asked_format, NULL, NULL);
if (!file_oformat) {
fprintf(stderr, "Requested output format '%s' is not a suitable output format\n", last_asked_format);
av_exit(1);
}
last_asked_format = NULL;
} else {
- file_oformat = guess_format(NULL, filename, NULL);
+ file_oformat = av_guess_format(NULL, filename, NULL);
if (!file_oformat) {
fprintf(stderr, "Unable to find a suitable output format for '%s'\n",
filename);