- int i;
-
- for (i = 0; i < FF_ARRAY_ELEMS(ctx->ps.vps_list); i++)
- av_buffer_unref(&ctx->ps.vps_list[i]);
- for (i = 0; i < FF_ARRAY_ELEMS(ctx->ps.sps_list); i++)
- av_buffer_unref(&ctx->ps.sps_list[i]);
- for (i = 0; i < FF_ARRAY_ELEMS(ctx->ps.pps_list); i++)
- av_buffer_unref(&ctx->ps.pps_list[i]);
-
- ctx->ps.sps = NULL;