Commit 135ea609 authored by Andreas Cadhalpun's avatar Andreas Cadhalpun Committed by Michael Niedermayer

libavformat/img2dec.c: Add a long_name to the piped image demuxers

This fixes segfaults in gst-libav1.0 compiled against FFmpeg 2.3.
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent c933f2c4
...@@ -666,6 +666,7 @@ static const AVClass imgname ## _class = {\ ...@@ -666,6 +666,7 @@ static const AVClass imgname ## _class = {\
};\ };\
AVInputFormat ff_image_ ## imgname ## _pipe_demuxer = {\ AVInputFormat ff_image_ ## imgname ## _pipe_demuxer = {\
.name = AV_STRINGIFY(imgname) "_pipe",\ .name = AV_STRINGIFY(imgname) "_pipe",\
.long_name = NULL_IF_CONFIG_SMALL("piped " AV_STRINGIFY(imgname) " sequence"),\
.priv_data_size = sizeof(VideoDemuxData),\ .priv_data_size = sizeof(VideoDemuxData),\
.read_probe = imgname ## _probe,\ .read_probe = imgname ## _probe,\
.read_header = ff_img_read_header,\ .read_header = ff_img_read_header,\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment