[FFmpeg-cvslog] segment: Fix typo in segment_basename

Michael Niedermayer git at videolan.org
Mon Oct 17 03:49:04 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Oct 17 03:36:56 2011 +0200| [dbd117240a8b0e905b4906e93c633976843123e9] | committer: Michael Niedermayer

segment: Fix typo in segment_basename

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=dbd117240a8b0e905b4906e93c633976843123e9
---

 libavformat/segment.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavformat/segment.c b/libavformat/segment.c
index 91c4e91..d6c6e58 100644
--- a/libavformat/segment.c
+++ b/libavformat/segment.c
@@ -192,7 +192,7 @@ static const AVOption options[] = {
     { "container_format", "container format used for the segments", OFFSET(format), FF_OPT_TYPE_STRING, {.str = "nut"},  0, 0, E },
     { "segment_time",     "segment lenght in seconds",              OFFSET(time),   FF_OPT_TYPE_FLOAT,  {.dbl = 2},      0, FLT_MAX, E },
     { "segment_pattern",  "pattern to use in segment files",        OFFSET(pattern),FF_OPT_TYPE_STRING, {.str = "%03d"}, 0, 0, E },
-    { "segment_basename", "basename to use in segment files",       OFFSET(pattern),FF_OPT_TYPE_STRING, {.str = NULL},   0, 0, E },
+    { "segment_basename", "basename to use in segment files",       OFFSET(path   ),FF_OPT_TYPE_STRING, {.str = NULL},   0, 0, E },
     { NULL },
 };
 



More information about the ffmpeg-cvslog mailing list