summaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-10-17 03:36:56 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-10-17 03:39:19 +0200
commitdbd117240a8b0e905b4906e93c633976843123e9 (patch)
tree866b69077a990b38f1711fe29cbfc000b20b390b /libavformat
parent5cdcc44e4138f9c96841cbf02d4394e882da07bc (diff)
downloadffmpeg-streaming-dbd117240a8b0e905b4906e93c633976843123e9.zip
ffmpeg-streaming-dbd117240a8b0e905b4906e93c633976843123e9.tar.gz
segment: Fix typo in segment_basename
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/segment.c2
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 },
};
OpenPOWER on IntegriCloud