summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichel Bardiaux <mbardiaux@peaktime.be>2006-09-04 09:57:47 +0000
committerGuillaume Poirier <gpoirier@mplayerhq.hu>2006-09-04 09:57:47 +0000
commit5c07cf535ffe0743bf332f9b98b82f48ee016517 (patch)
tree4ae77f2bb314c8a7a9e113205ceac1899407c2a5 /ffmpeg.c
parent22e469590583ebff6305698f0a49676007a6509a (diff)
Clarified API for numbered sequences, patch by Michel Bardiaux % mbardiaux A mediaxim P be %
Original thread: Date: Aug 30, 2006 4:54 PM Subject: [Ffmpeg-devel] [PATCH] Clarified API for numbered sequences Originally committed as revision 6166 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 52197d7dfb..1bc63ac4d0 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3392,7 +3392,7 @@ static void opt_output_file(const char *filename)
/* check filename in case of an image number is expected */
if (oc->oformat->flags & AVFMT_NEEDNUMBER) {
- if (filename_number_test(oc->filename) < 0) {
+ if (!av_filename_number_test(oc->filename)) {
print_error(oc->filename, AVERROR_NUMEXPECTED);
exit(1);
}