[FFmpeg-trac] #269(FFmpeg:open): webm/libvpx Conversion bug
FFmpeg
trac at avcodec.org
Tue Jun 7 13:25:35 CEST 2011
#269: webm/libvpx Conversion bug
--------------------+----------------------
Reporter: yxmline | Owner: michael
Type: defect | Status: open
Priority: normal | Component: FFmpeg
Version: git | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced: 0
Analyzed: 0 |
--------------------+----------------------
Comment (by yxmline):
ps:diff --git a/libavutil/opt.c b/libavutil/opt.c
index f3c74a9..df4b70c 100644
--- a/libavutil/opt.c
+++ b/libavutil/opt.c
@@ -45,7 +45,7 @@ const AVOption *av_find_opt(void *v, const char *name,
const char *unit, int mas
const AVOption *av_next_option(void *obj, const AVOption *last)
{
if (last && last[1].name) return ++last;
- else if (last || !(*(AVClass**)obj)->option->name) return NULL;
+ else if (last) return NULL;
else return (*(AVClass**)obj)->option;
}
Program received signal SIGSEGV, Segmentation fault.
0x009850f1 in av_next_option (obj=0x56d32e0) at libavutil/opt.c:49
49 else return (*(AVClass**)obj)->option;
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/269#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list