diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-11-05 20:25:25 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-11-05 20:26:10 +0100 |
commit | 30d27685b177c055f7540a6c809cf81acb22cc78 (patch) | |
tree | 80b4e7616ebe4820ad9906802277d2661a107559 /libavformat/segment.c | |
parent | 962314fe2769dcc4eb6b950a671c30252331487a (diff) | |
download | ffmpeg-30d27685b177c055f7540a6c809cf81acb22cc78.tar.gz |
segment: fix null ptr deref
Fixes CID732220
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/segment.c')
-rw-r--r-- | libavformat/segment.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/segment.c b/libavformat/segment.c index b6697e0940..f31b25fb36 100644 --- a/libavformat/segment.c +++ b/libavformat/segment.c @@ -386,7 +386,7 @@ static int seg_write_header(AVFormatContext *s) } if (seg->oformat->flags & AVFMT_NOFILE) { av_log(s, AV_LOG_ERROR, "format %s not supported.\n", - oc->oformat->name); + seg->oformat->name); ret = AVERROR(EINVAL); goto fail; } |