summaryrefslogtreecommitdiff
path: root/libavformat/vapoursynth.c
Commit message (Collapse)AuthorAge
* avformat/vapoursynth: Simplify cleanup after read_header failureAndreas Rheinhardt2021-07-08
| | | | | | by setting the FF_FMT_INIT_CLEANUP flag. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avformat: Constify all muxer/demuxersAndreas Rheinhardt2021-04-27
| | | | | | | This is possible now that the next-API is gone. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Signed-off-by: James Almer <jamrial@gmail.com>
* lavf: Constify the probe function argument.Carl Eugen Hoyos2019-03-21
| | | | | Reviewed-by: Lauri Kasanen Reviewed-by: Tomas Härdin
* avformat/vapoursynth: properly initialize err variable in read_header_vs()nu7742019-01-04
| | | | | | | The variable "err" is not initialized, and set only when something went wrong. When everything is OK, nobody sets it, so using it result in UB. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat: add vapoursynth wrapperwm42018-05-04
This can "demux" .vpy files. Autodetection of .vpy scripts is intentionally not done, because it would be a major security issue. You need to force the format, for example with "-f vapoursynth" for the FFmpeg CLI tools. Some minor code copied from other LGPL parts of FFmpeg. I did not find a good way to test a few of the more obscure VS features, like VFR nodes, compat pixel formats, or nodes with dynamic size/format changes. These can be easily implemented on demand.