Message ID | AM7PR03MB6660FCE2C89C5A2EDF57199A8F2D9@AM7PR03MB6660.eurprd03.prod.outlook.com |
---|---|
State | Accepted |
Commit | d75c4cc7c1f1b9636140bee530ceda2c0b6b7c1d |
Headers | show |
Series | [FFmpeg-devel] avutil/tx: Fix documentation of av_tx_uninit() | expand |
Context | Check | Description |
---|---|---|
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
andriy/make_ppc | success | Make finished |
andriy/make_fate_ppc | success | Make fate finished |
Andreas Rheinhardt: > Adapt it to the actual (sane) behaviour. > > Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> > --- > libavutil/tx.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavutil/tx.h b/libavutil/tx.h > index 087355f10d..3de2f7231b 100644 > --- a/libavutil/tx.h > +++ b/libavutil/tx.h > @@ -154,7 +154,7 @@ int av_tx_init(AVTXContext **ctx, av_tx_fn *tx, enum AVTXType type, > int inv, int len, const void *scale, uint64_t flags); > > /** > - * Frees a context and sets ctx to NULL, does nothing when ctx == NULL > + * Frees a context and sets *ctx to NULL, does nothing when *ctx == NULL. > */ > void av_tx_uninit(AVTXContext **ctx); > Will apply this later tonight unless there are objections. - Andreas
diff --git a/libavutil/tx.h b/libavutil/tx.h index 087355f10d..3de2f7231b 100644 --- a/libavutil/tx.h +++ b/libavutil/tx.h @@ -154,7 +154,7 @@ int av_tx_init(AVTXContext **ctx, av_tx_fn *tx, enum AVTXType type, int inv, int len, const void *scale, uint64_t flags); /** - * Frees a context and sets ctx to NULL, does nothing when ctx == NULL + * Frees a context and sets *ctx to NULL, does nothing when *ctx == NULL. */ void av_tx_uninit(AVTXContext **ctx);
Adapt it to the actual (sane) behaviour. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavutil/tx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)