|
|
|
@ -506,7 +506,6 @@ static void encode_wavelet_transform(VC2EncContext *s) |
|
|
|
|
{ |
|
|
|
|
encode_transform_params(s); |
|
|
|
|
avpriv_align_put_bits(&s->pb); |
|
|
|
|
/* Continued after DWT in encode_transform_data() */ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/* VC-2 12 - picture_parse() */ |
|
|
|
@ -961,7 +960,7 @@ static int encode_frame(VC2EncContext *s, AVPacket *avpkt, const AVFrame *frame, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
static av_cold int vc2_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, |
|
|
|
|
const AVFrame *frame, int *got_packet_ptr) |
|
|
|
|
const AVFrame *frame, int *got_packet) |
|
|
|
|
{ |
|
|
|
|
int ret = 0; |
|
|
|
|
int sig_size = 256; |
|
|
|
@ -1004,7 +1003,7 @@ static av_cold int vc2_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, |
|
|
|
|
flush_put_bits(&s->pb); |
|
|
|
|
avpkt->size = put_bits_count(&s->pb) >> 3; |
|
|
|
|
|
|
|
|
|
*got_packet_ptr = 1; |
|
|
|
|
*got_packet = 1; |
|
|
|
|
|
|
|
|
|
return 0; |
|
|
|
|
} |
|
|
|
|