[FFmpeg-devel] [PATCH] doc/examples/qsv_decode.c: remove unused config.h header file

Stefano Sabatini stefasab at gmail.com
Sun Mar 10 15:55:17 EET 2024


On date Saturday 2024-03-09 02:17:19 +0000, hung kuishing wrote:
> 
> Signed-off-by: clarkh <hungkuishing at outlook.com<mailto:hungkuishing at outlook.com>>
> ---
> doc/examples/qsv_decode.c | 2 --
> 1 file changed, 2 deletions(-)
> 
> diff --git a/doc/examples/qsv_decode.c b/doc/examples/qsv_decode.c
> index cc2662d5bd..901eac3b27 100644
> --- a/doc/examples/qsv_decode.c
> +++ b/doc/examples/qsv_decode.c
> @@ -28,8 +28,6 @@
>   * GPU video surfaces, write the decoded frames to an output file.
>   */
> 
> -#include "config.h"
> -
> #include <stdio.h>
> 
> #include "libavformat/avformat.h"
> --
> 2.34.1

Looks good but it fails with:
git am --abort; git am patches/fix-doc-qsvdec.patch 
Applying: doc/examples/qsv_decode.c: remove unused config.h header file
error: corrupt patch at line 15

Can you try to generate the patch (git format-patch) and attach it to
the thread?

Or I'll just apply the diff manually.


More information about the ffmpeg-devel mailing list