The only AU without bitstream format.
Unified · Split
| @@ -307,6 +307,14 @@ static av_cold int liboapve_init(AVCodecContext *avctx) · 306 unmodified lines | |||
| 307 | return AVERROR_EXTERNAL; | 307 | return AVERROR_EXTERNAL; |
| 308 | } | 308 | } |
| 309 | 309 | ||
| 310 | int value = OAPV_CFG_VAL_AU_BS_FMT_NONE; | ||
| 311 | int size = 4; | ||
| 312 | ret = oapve_config(apv->id, OAPV_CFG_SET_AU_BS_FMT, &value, &size); | ||
| 313 | if (OAPV_FAILED(ret)) { | ||
| 314 | av_log(avctx, AV_LOG_ERROR, "Failed to set config for using encoder output format\n"); | ||
| 315 | return AVERROR_EXTERNAL; | ||
| 316 | } | ||
| 317 | |||
| 310 | apv->ifrms.frm[FRM_IDX].imgb = apv_imgb_create(avctx); | 318 | apv->ifrms.frm[FRM_IDX].imgb = apv_imgb_create(avctx); |
| 311 | if (apv->ifrms.frm[FRM_IDX].imgb == NULL) | 319 | if (apv->ifrms.frm[FRM_IDX].imgb == NULL) |
| 312 | return AVERROR(ENOMEM); | 320 | return AVERROR(ENOMEM); |