ff-save: report to stderr on header writing problems

parent 5510aab6
......@@ -935,7 +935,11 @@ tfile (GeglProperties *o)
return -1;
}
avformat_write_header (p->oc, NULL);
if (avformat_write_header (p->oc, NULL) < 0)
{
fprintf (stderr, "'%s' error writing header\n", o->path);
return -1;
}
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment