[FFmpeg-devel] [PATCH v9 4/6] libavcodec/dnxucdec: DNxUncompressed decoder
martin schitter
ms+git at mur.at
Sat Oct 5 00:14:15 EEST 2024
On 03.10.24 20:44, Michael Niedermayer wrote:
> On Mon, Sep 23, 2024 at 11:16:45AM +0200, Martin Schitter wrote:
> [...]
>
>> +static av_cold int dnxuc_decode_init(AVCodecContext *avctx)
>> +{
>> + return 0;
>> +}
>
> unneeded
done in v10.
>> + memcpy(&frame->data[2][2*(y*lw + x)], &r, 2);
>> + memcpy(&frame->data[0][2*(y*lw + x)], &g, 2);
>> + memcpy(&frame->data[1][2*(y*lw + x)], &b, 2);
>
> this probably should be AV_WL16() or something like that
changed in all similar places.
thanks for your review!
martin
More information about the ffmpeg-devel
mailing list