[FFmpeg-cvslog] libavformat/img2dec.c: Add a long_name to the piped image demuxers

Andreas Cadhalpun git at videolan.org
Fri Jul 25 13:33:05 CEST 2014


ffmpeg | branch: release/2.3 | Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com> | Tue Jul 22 03:32:03 2014 +0200| [0f04e2741e26c967d3c6683f89bc8ba286baded3] | committer: 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: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit 135ea609cebb5a5d331a2550caebe161d163c190)

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0f04e2741e26c967d3c6683f89bc8ba286baded3
---

 libavformat/img2dec.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c
index cda4996..f978007 100644
--- a/libavformat/img2dec.c
+++ b/libavformat/img2dec.c
@@ -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,\



More information about the ffmpeg-cvslog mailing list