390
390
return put_bits_ptr(&s->pb) - s->pb.buf;
393
AVCodec ff_wmav1_encoder =
398
sizeof(WMACodecContext),
402
.sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16,AV_SAMPLE_FMT_NONE},
403
.long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio 1"),
393
AVCodec ff_wmav1_encoder = {
395
.type = AVMEDIA_TYPE_AUDIO,
396
.id = CODEC_ID_WMAV1,
397
.priv_data_size = sizeof(WMACodecContext),
399
.encode = encode_superframe,
401
.sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16,AV_SAMPLE_FMT_NONE},
402
.long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio 1"),
406
AVCodec ff_wmav2_encoder =
411
sizeof(WMACodecContext),
415
.sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16,AV_SAMPLE_FMT_NONE},
416
.long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio 2"),
405
AVCodec ff_wmav2_encoder = {
407
.type = AVMEDIA_TYPE_AUDIO,
408
.id = CODEC_ID_WMAV2,
409
.priv_data_size = sizeof(WMACodecContext),
411
.encode = encode_superframe,
413
.sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16,AV_SAMPLE_FMT_NONE},
414
.long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio 2"),