mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-28 12:32:17 +02:00
wnv1: cosmetics, reformat
This commit is contained in:
parent
51648da4dc
commit
0a9132b84c
@ -62,9 +62,9 @@ static int decode_frame(AVCodecContext *avctx,
|
||||
void *data, int *got_frame,
|
||||
AVPacket *avpkt)
|
||||
{
|
||||
WNV1Context * const l = avctx->priv_data;
|
||||
const uint8_t *buf = avpkt->data;
|
||||
int buf_size = avpkt->size;
|
||||
WNV1Context * const l = avctx->priv_data;
|
||||
AVFrame * const p = &l->pic;
|
||||
unsigned char *Y,*U,*V;
|
||||
int i, j;
|
||||
@ -131,7 +131,8 @@ static int decode_frame(AVCodecContext *avctx,
|
||||
return buf_size;
|
||||
}
|
||||
|
||||
static av_cold int decode_init(AVCodecContext *avctx){
|
||||
static av_cold int decode_init(AVCodecContext *avctx)
|
||||
{
|
||||
WNV1Context * const l = avctx->priv_data;
|
||||
static VLC_TYPE code_table[1 << CODE_VLC_BITS][2];
|
||||
|
||||
@ -147,7 +148,8 @@ static av_cold int decode_init(AVCodecContext *avctx){
|
||||
return 0;
|
||||
}
|
||||
|
||||
static av_cold int decode_end(AVCodecContext *avctx){
|
||||
static av_cold int decode_end(AVCodecContext *avctx)
|
||||
{
|
||||
WNV1Context * const l = avctx->priv_data;
|
||||
AVFrame *pic = &l->pic;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user