]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/img2dec.c
x86/hevc_deblock: remove some unnecessary instructions
[ffmpeg] / libavformat / img2dec.c
index cda4996568053b8093d38a52718ddc2b589c6a94..cf51c0bb096c47ff0008051cdda6dcea8e90c32d 100644 (file)
@@ -652,7 +652,8 @@ static int tiff_probe(AVProbeData *p)
 {
     const uint8_t *b = p->buf;
 
-    if (AV_RB32(b) == 0x49492a00)
+    if (AV_RB32(b) == 0x49492a00 ||
+        AV_RB32(b) == 0x4D4D002a)
         return AVPROBE_SCORE_EXTENSION + 1;
     return 0;
 }
@@ -666,6 +667,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,\