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

hung kuishing hungkuishing at outlook.com
Mon Mar 11 15:41:43 EET 2024



> 在 2024年3月10日,21:55,Stefano Sabatini <stefasab at gmail.com> 写道:
> 
> 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.
Ok, please apply the diff manually, thanks


More information about the ffmpeg-devel mailing list