[FFmpeg-devel] [PATCH 1/5] avcodec/libsvtav1: fix copy and paste error

Mark Thompson sw at jkqxz.net
Sat Aug 1 15:56:31 EEST 2020


On 01/08/2020 12:22, lance.lmwang at gmail.com wrote:
> From: Limin Wang <lance.lmwang at gmail.com>
> 
> Signed-off-by: Limin Wang <lance.lmwang at gmail.com>
> ---
>   libavcodec/libsvtav1.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavcodec/libsvtav1.c b/libavcodec/libsvtav1.c
> index 40942c6..d34c6b3 100644
> --- a/libavcodec/libsvtav1.c
> +++ b/libavcodec/libsvtav1.c
> @@ -85,7 +85,7 @@ static const struct {
>       { EB_ErrorBadParameter,               AVERROR(EINVAL),      "bad parameter"             },
>       { EB_ErrorDestroyThreadFailed,        AVERROR_EXTERNAL,     "failed to destroy thread"  },
>       { EB_ErrorSemaphoreUnresponsive,      AVERROR_EXTERNAL,     "semaphore unresponsive"    },
> -    { EB_ErrorDestroySemaphoreFailed,     AVERROR_EXTERNAL,     "semaphore unresponsive"    },
> +    { EB_ErrorDestroySemaphoreFailed,     AVERROR_EXTERNAL,     "failed to destroy semaphore"},
>       { EB_ErrorCreateMutexFailed,          AVERROR_EXTERNAL,     "failed to create mutex"    },
>       { EB_ErrorMutexUnresponsive,          AVERROR_EXTERNAL,     "mutex unresponsive"        },
>       { EB_ErrorDestroyMutexFailed,         AVERROR_EXTERNAL,     "failed to destroy mutex"   },
> 

LGTM.

(Not that I have any idea what the user is meant to do if they get a message saying that it failed to destroy a semaphore.)

Thanks,

- Mark


More information about the ffmpeg-devel mailing list