[FFmpeg-devel] [PATCH 1/2] avcodec/v210dec: move DSP function setting into dedicated function
Carl Eugen Hoyos
ceffmpeg at gmail.com
Wed Mar 6 10:20:51 EET 2019
2019-03-04 23:58 GMT+01:00, James Darnley <jdarnley at obe.tv>:
> Prepare for checkasm test.
> ---
> libavcodec/v210dec.c | 13 +++++++++----
> libavcodec/v210dec.h | 1 +
> 2 files changed, 10 insertions(+), 4 deletions(-)
>
> diff --git a/libavcodec/v210dec.c b/libavcodec/v210dec.c
> index ddc5dbe8be..28cf00d320 100644
> --- a/libavcodec/v210dec.c
> +++ b/libavcodec/v210dec.c
> @@ -50,6 +50,14 @@ static void v210_planar_unpack_c(const uint32_t *src,
> uint16_t *y, uint16_t *u,
> }
> }
>
> +av_cold void ff_v210dec_init(V210DecContext *s)
> +{
> + s->unpack_frame = v210_planar_unpack_c;
> + s->aligned_input = 0;
Isn't this an unrelated change or do I misunderstand?
Carl Eugen
More information about the ffmpeg-devel
mailing list