libavformat/img2dec.c: Add a long_name to the piped image demuxers
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Tue, 22 Jul 2014 01:32:03 +0000 (03:32 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 22 Jul 2014 03:14:44 +0000 (05:14 +0200)
This fixes segfaults in gst-libav1.0 compiled against FFmpeg 2.3.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/img2dec.c

index cda4996568053b8093d38a52718ddc2b589c6a94..f97800797e572381a7656232b4c62977f2deb283 100644 (file)
@@ -666,6 +666,7 @@ static const AVClass imgname ## _class = {\
 };\
 AVInputFormat ff_image_ ## imgname ## _pipe_demuxer = {\
     .name           = AV_STRINGIFY(imgname) "_pipe",\
+    .long_name      = NULL_IF_CONFIG_SMALL("piped " AV_STRINGIFY(imgname) " sequence"),\
     .priv_data_size = sizeof(VideoDemuxData),\
     .read_probe     = imgname ## _probe,\
     .read_header    = ff_img_read_header,\