]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/lavfutils.c
avfilter/lavfutils: use image2pipe demuxer on ff_load_image
[ffmpeg] / libavfilter / lavfutils.c
index 706badf63d363d5e473c279bb8617eca11fffcd6..35878b3d50f207cb5ccd6700d7770fbaf54ad9fc 100644 (file)
@@ -38,7 +38,7 @@ int ff_load_image(uint8_t *data[4], int linesize[4],
 
     av_register_all();
 
-    iformat = av_find_input_format("image2");
+    iformat = av_find_input_format("image2pipe");
     if ((ret = avformat_open_input(&format_ctx, filename, iformat, NULL)) < 0) {
         av_log(log_ctx, AV_LOG_ERROR,
                "Failed to open input file '%s'\n", filename);