Browse Source

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@gmx.at>
tags/n2.4
Andreas Cadhalpun Michael Niedermayer 11 years ago
parent
commit
135ea609ce
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavformat/img2dec.c

+ 1
- 0
libavformat/img2dec.c View 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,\


Loading…
Cancel
Save